Process crash during CRL-based revocation check on OS using separate mount point for temp Directory in notation-go
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
notion-go is a collection of libraries for supporting sign and verify OCI artifacts. Based on Notary Project specifications. 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. In method `crl.(*FileCache).Set`, a temporary file is created in the OS dedicated area (like /tmp for, usually, Linux/Unix). The file is written and then it is tried to move it to the dedicated `notation` cache directory thanks `os.Rename`. As specified in Go documentation, OS specific restriction may apply. When used with Linux OS, it is relying on rename syscall from the libc and as per the documentation, moving a file to a different mountpoint raises an EXDEV error, interpreted as Cross device link not permitted error. Some Linux distribution, like RedHat use a dedicated filesystem (tmpfs), mounted on a specific mountpoint (usually /tmp) for temporary files. When using such OS, revocation check based on CRL will repeatedly crash notation. As a result the signature verification process is aborted as process crashes. This issue has been addressed in version 1.3.0-rc.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| notaryproject | notation-go | = 1.3.0-rc.1 | — | No fix listed | CNA |
| — | github.com/notaryproject/notation-go (Go) | 1.3.0-rc.1 to before 1.3.0-rc.2 | 1.3.0-rc.2 | Patch available | GHSA-qjh3-4j3h-vmwp |
- notation-go Vendornotaryproject Affected = 1.3.0-rc.1 Fixed in — No fix listed CNA
- github.com/notaryproject/notation-go (Go) Vendor— Affected 1.3.0-rc.1 to before 1.3.0-rc.2 Fixed in 1.3.0-rc.2 Patch available GHSA-qjh3-4j3h-vmwp
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:notaryproject:notation-go:*:*:*:*:*:*:*:* | before 1.3.0 | Vulnerable | notaryproject |
| cpe:2.3:a:notaryproject:notation-go:1.3.0:rc1:*:*:*:*:*:* | 1.3.0 rc1 | Vulnerable | notaryproject |
- cpe:2.3:a:notaryproject:notation-go:*:*:*:*:*:*:*:* Versions before 1.3.0 Vulnerable ·notaryproject
- cpe:2.3:a:notaryproject:notation-go:1.3.0:rc1:*:*:*:*:*:* Versions 1.3.0 rc1 Vulnerable ·notaryproject
Remediation
- Fix · GHSA-qjh3-4j3h-vmwp github.com/notaryproject/notation-go (Go) Fixed in 1.3.0-rc.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-51491
- 2026-10-03 Alias added: GHSA-qjh3-4j3h-vmwp
References
More notaryproject Notation-go vulnerabilities
- TI-2023-10937 notation-go has excessive memory allocation on verification CVSS 3.1HIGH 7.5
- TI-2023-16827 Verification bypass can cause users into verifying the wrong artifact CVSS 3.1HIGH 8.8
- TI-2024-15434 Client configured with permissive trust policies susceptible to rollback attack in Notary Project CVSS 3.1MEDIUM 6.8
- TI-2023-16826 Default `maxSignatureAttempts` in `notation verify` enables an endless data attack in notation CVSS 3.1MEDIUM 6.5
- TI-2023-16825 Denial of service from high number of artifact signatures in notation CVSS 3.1MEDIUM 5.7
Sources
- CVE-2024-51491 · CVE Program
- CVE-2024-51491 · NVD
- FIRST EPSS
- GHSA-qjh3-4j3h-vmwp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences