CVE-2022-29256
Last modified
CVE-2022-29256 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. sharp is an application for Node.js image processing. Prior to version 0.30.5, there is a possible vulnerability in logic that is run only at `npm install` time when installing versions of `sharp` prior to the latest v0.30.5. EPSS estimates a 0.37% chance of exploitation in the next 30 days.
Description
sharp is an application for Node.js image processing. Prior to version 0.30.5, there is a possible vulnerability in logic that is run only at `npm install` time when installing versions of `sharp` prior to the latest v0.30.5. If an attacker has the ability to set the value of the `PKG_CONFIG_PATH` environment variable in a build environment then they might be able to use this to inject an arbitrary command at `npm install` time. This is not part of any runtime code, does not affect Windows users at all, and is unlikely to affect anyone that already cares about the security of their build environment. This problem is fixed in version 0.30.5.
Metrics
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sharp Project | Sharp | < 0.30.5 |
References
- https://github.com/lovell/sharp/commit/a6aeef612be50f5868a77481848b1de674216f0cPatch, Third Party Advisory
- https://github.com/lovell/sharp/security/advisories/GHSA-gp95-ppv5-3jc5Patch, Third Party Advisory
- https://github.com/lovell/sharp/commit/a6aeef612be50f5868a77481848b1de674216f0cPatch, Third Party Advisory
- https://github.com/lovell/sharp/security/advisories/GHSA-gp95-ppv5-3jc5Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-29256?
How severe is CVE-2022-29256?
How do I fix CVE-2022-29256?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-29250GLPI is a Free Asset and IT Management Software package, tha…6.5
- CVE-2022-29251XWiki Platform Flamingo Theme UI is a tool that allows custo…6.1
- CVE-2022-29252XWiki Platform Wiki UI Main Wiki is a package for managing s…6.1
- CVE-2022-29253XWiki Platform is a generic wiki platform offering runtime s…2.7
- CVE-2022-29254silverstripe-omnipay is a SilverStripe integration with Omni…6.5
- CVE-2022-29255Vyper is a Pythonic Smart Contract Language for the ethereum…7.5
- CVE-2022-29257Electron is a framework for writing cross-platform desktop a…7.2
- CVE-2022-29258XWiki Platform Filter UI provides a generic user interface t…6.1
- CVE-2022-2926The Download Manager WordPress plugin before 3.2.55 does not…4.9
- CVE-2022-29262Improper buffer restrictions in some Intel(R) Server Board B…6.7
- CVE-2022-29263On F5 BIG-IP APM 16.1.x versions prior to 16.1.2.2, 15.1.x v…7.8
- CVE-2022-29264An issue was discovered in coreboot 4.13 through 4.16. On AP…9.8
Are you affected by CVE-2022-29256?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
