CVE & CISA-KEV Catalog

CVE-2022-29256

MEDIUM
6.5
CVSS v3
NVD

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.

How to fix

Remediation Available
sharpNVD
Affected:< 0.30.5Fixed in:0.30.5CVE-2022-29256derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredHigh
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

0.37%probability of exploitation in 30 days
29thpercentile

Low risk: more likely to be exploited than 29% of all known CVEs.

References

Related Vulnerabilities

Other CWE-77 (Command Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2024-21887Critical9.1100%KEV + Ransom-
CVE-2023-1671Critical9.8100%KEVFix
CVE-2023-1389High8.8100%KEVFix
CVE-2021-1498Critical9.8100%KEVFix
CVE-2012-1823Critical9.8100%KEVFix
Embed a live status badge for CVE-2022-29256
CVE-2022-29256 severity badge

Markdown

[![CVE-2022-29256](https://tridentstack.com/cve/badge/CVE-2022-29256.svg)](https://tridentstack.com/cve/CVE-2022-29256)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-29256"><img src="https://tridentstack.com/cve/badge/CVE-2022-29256.svg" alt="CVE-2022-29256"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.