Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/notaryproject/notation-go
  4. ›
  5. CVE-2024-51491

CVE-2024-51491: notation-go has an OS error when setting CRL cache leads to denial of signature verification

January 13, 2025 (updated January 14, 2025)

The issue was identified during Quarkslab’s security audit on the Certificate Revocation List (CRL) based revocation check feature. After retrieving the CRL, notation-go attempts to update the CRL cache using the os.Rename method. However, this operation may fail due to operating system-specific limitations, particularly when the source and destination paths are on different mount points. This failure could lead to an unexpected program termination.

References

  • github.com/advisories/GHSA-qjh3-4j3h-vmwp
  • github.com/notaryproject/notation-go
  • github.com/notaryproject/notation-go/commit/3c3302258ad510fbca2f8a73731569d91f07d196
  • github.com/notaryproject/notation-go/security/advisories/GHSA-qjh3-4j3h-vmwp
  • man7.org/linux/man-pages/man2/rename.2.html
  • nvd.nist.gov/vuln/detail/CVE-2024-51491

Code Behaviors & Features

Detect and mitigate CVE-2024-51491 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.3.0-rc.1 before 1.3.0-rc.2, version 1.3.0-rc.1

Fixed versions

  • 1.3.0-rc.2

Solution

Upgrade to version 1.3.0-rc.2 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-703: Improper Check or Handling of Exceptional Conditions

Source file

go/github.com/notaryproject/notation-go/CVE-2024-51491.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:32 +0000.