{"id":"CVE-2024-51491","aliases":["CVE-2024-51491","GHSA-qjh3-4j3h-vmwp","GO-2025-3382"],"related":["CGA-f68m-6fjc-v3qh"],"kind":"vulnerability","state":"published","title":"Process crash during CRL-based revocation check on OS using separate mount point for temp Directory in notation-go","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.\nAfter 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\nAfter 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.","source":"cvelist"},{"lang":"en","text":"### Summary\nThe issue was identified during Quarkslab's security audit on the Certificate Revocation List (CRL) based revocation check feature.\nAfter 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.\n\n### Details\n\nIn 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](https://man7.org/linux/man-pages/man2/rename.2.html), moving a file to a different mountpoint raises an `EXDEV` error, interpreted as `Cross device link not permitted error`.\nSome 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`. \n\n### PoC\n1. Ensure that the temporary file storage area (e.g., /tmp) is mounted on a different mount point than the user's 'notation' cache directory.\n2. Either disable the Online Certificate Status Protocol (OCSP) revocation check, or utilize certificates that exclusively support Certificate Revocation Lists (CRLs) for revocation check.\n3. Try to verify a previously generated signature using the 'notation' tool.\n\n### Impact\nThe signature verification process is aborted as process crashes.\n\n### Remediation\nThe cache file should be created, written, then copied to the wanted final location, and finally removed. Additionally, this error shouldn't lead to a crash as it is not fatal and shouldn't prevent the rest of the program to properly continue","format":"markdown","source":"ghsa"},{"lang":"en","text":"notation-go has an OS error when setting CRL cache leads to denial of signature verification in github.com/notaryproject/notation-go","format":"markdown","source":"go"},{"lang":"es","text":"notion-go es una colección de Librerías para respaldar la firma y verificación de artefactos OCI. Basado en las especificaciones del Proyecto Notary. El problema se identificó durante la auditoría de seguridad de Quarkslab sobre la función de verificación de revocación basada en la Lista de revocación de certificados (CRL). Después de recuperar la CRL, notation-go intenta actualizar la caché de CRL utilizando el método os.Rename. Sin embargo, esta operación puede fallar debido a limitaciones específicas de sistema operativo, en particular cuando las rutas de origen y destino están en diferentes puntos de montaje. Este fallo podría provocar una finalización inesperada del programa. En el método `crl.(*FileCache).Set`, se crea un archivo temporal en el área dedicada del SO (como /tmp para, por lo general, Linux/Unix). El archivo se escribe y luego se intenta moverlo al directorio de caché dedicado de `notation` gracias a `os.Rename`. Como se especifica en la documentación de Go, pueden aplicarse restricciones específicas del SO. Cuando se utiliza con el sistema operativo Linux, se basa en la llamada al sistema de cambio de nombre de la libc y, según la documentación, mover un archivo a un punto de montaje diferente genera un error EXDEV, que se interpreta como un error de vínculo entre dispositivos no permitido. Algunas distribuciones de Linux, como RedHat, utilizan un sistema de archivos dedicado (tmpfs), montado en un punto de montaje específico (normalmente /tmp) para archivos temporales. Cuando se utiliza dicho sistema operativo, la comprobación de revocación basada en CRL bloqueará repetidamente la notación. Como resultado, el proceso de verificación de firma se cancela a medida que el proceso se bloquea. Este problema se ha solucionado en la versión 1.3.0-rc.2 y se recomienda a todos los usuarios que actualicen. No se conocen Workarounds para esta vulnerabilidad.","source":"nvd"}],"published":"2025-01-13T16:13:59.000Z","modified":"2026-09-10T03:50:22.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"}],"cwes":["CWE-703"],"affected":[{"ranges":[{"version":"= 1.3.0-rc.1","status":"affected"}],"vendor":"notaryproject","product":"notation-go","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.3.0-rc.1","status":"affected","fixed":"1.3.0-rc.2"}],"ecosystem":"Go","package":"github.com/notaryproject/notation-go","purl":"pkg:golang/github.com/notaryproject/notation-go","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.3.0-rc.1","status":"affected","fixed":"1.3.0-rc.2"}],"ecosystem":"Go","package":"github.com/notaryproject/notation-go","purl":"pkg:golang/github.com/notaryproject/notation-go","source":"go"},{"ranges":[{"status":"affected","fixed":"1.3.0"},{"status":"affected","version":"1.3.0"}],"vendor":"notaryproject","product":"notation-go","cpe":"cpe:2.3:a:notaryproject:notation-go:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/notaryproject/notation-go/security/advisories/GHSA-qjh3-4j3h-vmwp","tags":["advisory","exploit","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/notaryproject/notation-go/commit/3c3302258ad510fbca2f8a73731569d91f07d196","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://man7.org/linux/man-pages/man2/rename.2.html","tags":["product","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51491","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/notaryproject/notation-go","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3382","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-01-14T00:18:53.695Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-51491","url":"https://www.cve.org/CVERecord?id=CVE-2024-51491","licence":"CVE Terms of Use","modified":"2025-01-14T00:19:12.573Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qjh3-4j3h-vmwp","url":"https://github.com/advisories/GHSA-qjh3-4j3h-vmwp","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:22.163Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3382","url":"https://pkg.go.dev/vuln/GO-2025-3382","licence":"CC-BY-4.0","modified":"2026-02-04T03:40:44.576Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-51491","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51491","licence":"Public domain","modified":"2026-06-17T08:05:47.737Z"}],"updatedAt":"2026-11-25T22:58:50.957Z","epss":{"score":0.00196,"percentile":0.09752,"date":"2026-12-01T12:00:22.000Z"}}