SCA: security update for sharp (GHSA-gp95-ppv5-3jc5)

medium Tenable Cloud Security Plugin ID 415227

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-29256)

See Also

https://github.com/advisories/GHSA-gp95-ppv5-3jc5

Plugin Details

Severity: Medium

ID: 415227

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-29256

CVSS v3

Risk Factor: Medium

Base Score: 6.7

Temporal Score: 5.8

Vector: CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/1/2022

Vulnerability Publication Date: 5/25/2022

Reference Information

CVE: CVE-2022-29256