CVE-2024-39918: @jmondi/url-to-png contains a Path Traversal vulnerability
When trying to add a BLOCK_LIST feature when the maintainer noticed they didn’t sanitize the ImageId in the code, which leads to path traversal vulnerability. Now, this is different from a traditional path traversal issue, because as of NOW you can store the image in any place arbitrarily, and given enough time they might be able to come up with a working exploit BUT for the time being they am reporting this.
References
- github.com/advisories/GHSA-vvmv-wrvp-9gjr
- github.com/jasonraimondi/url-to-png
- github.com/jasonraimondi/url-to-png/commit/e4eaeca6493b21cd515b582fd6c0af09ede54507
- github.com/jasonraimondi/url-to-png/releases/tag/v2.1.2
- github.com/jasonraimondi/url-to-png/security/advisories/GHSA-vvmv-wrvp-9gjr
- nvd.nist.gov/vuln/detail/CVE-2024-39918
Code Behaviors & Features
Detect and mitigate CVE-2024-39918 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →