CVE-2024-51491
Chainguard vulnerability analysis and mitigation

Overview

notion-go is a collection of libraries for supporting sign and verify OCI artifacts based on Notary Project specifications. The vulnerability (CVE-2024-51491) was identified during Quarkslab's security audit of the Certificate Revocation List (CRL) based revocation check feature. The issue affects versions up to 1.3.0-rc.1 and has been patched in version 1.3.0-rc.2. The vulnerability was discovered when notation-go attempts to update the CRL cache using the os.Rename method, which can fail due to operating system-specific limitations when source and destination paths are on different mount points (GitHub Advisory).

Technical details

The vulnerability occurs in the crl.(*FileCache).Set method, where a temporary file is created in the OS dedicated area (like /tmp for Linux/Unix systems). The file is then attempted to be moved to the dedicated notation cache directory using os.Rename. According to Go documentation and Linux libc specifications, moving a file to a different mountpoint raises an EXDEV error (Cross device link not permitted). This becomes particularly problematic on Linux distributions like RedHat that use a dedicated filesystem (tmpfs) mounted on a specific mountpoint for temporary files (GitHub Advisory, Linux Manual).

Impact

When the vulnerability is triggered, the signature verification process is aborted as the process crashes. This occurs specifically when using operating systems that have separate mount points for temporary files, and when performing revocation checks based on CRL (GitHub Advisory).

Mitigation and workarounds

The issue has been addressed in version 1.3.0-rc.2. The fix involves modifying the cache file handling process so that files are created, written, then copied to the final location, and finally removed. Additionally, the error handling has been improved to prevent crashes and allow the program to continue execution properly. Users are advised to upgrade to version 1.3.0-rc.2 or later (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Chainguard vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66471HIGH8.9
  • PythonPython
  • py3-urllib3
NoYesDec 05, 2025
CVE-2025-66418HIGH8.9
  • PythonPython
  • python-urllib3
NoYesDec 05, 2025
CVE-2025-66564HIGH7.5
  • Datadog AgentDatadog Agent
  • cosign
NoYesDec 04, 2025
CVE-2025-66490MEDIUM6.9
  • WolfiWolfi
  • traefik-3
NoYesDec 09, 2025
CVE-2025-66491MEDIUM5.9
  • WolfiWolfi
  • traefik
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management