NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

@napi-rs/image affected by libwebp CVEGHSA-4vjr-crvh-383h

HIGHFix: Brooooooklyn/Image@aa07979

GHSA-4vjr-crvh-383h is a high-severity (CVSS 8.8) remote code execution vulnerability in @napi-rs/image. A fix is available for @napi-rs/image — see the affected versions and patch details below.

Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Sep 27, 2023 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

1 pkg affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

34other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
@napi-rs/imagenpm
318Kdownloads / week

Description

Impact

Heap buffer overflow in libwebp allows a remote attacker to perform an out of bounds memory write via a crafted webp image.

References

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npm@napi-rs/imageall versions1.7.0npm install @napi-rs/image@1.7.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @napi-rs/image, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update @napi-rs/image to 1.7.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-4vjr-crvh-383h is resolved across your whole dependency graph.

  3. Workarounds

    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.

Frequently Asked Questions

### Impact Heap buffer overflow in `libwebp` allows a remote attacker to perform an out of bounds memory write via a crafted webp image. ### References - https://github.com/advisories/GHSA-j7hp-h8jx-5ppr - https://blog.isosceles.com/the-webp-0day/
O3 Security · Impact-Aware SCA

Is GHSA-4vjr-crvh-383h in your dependencies?

Find it across npm, including transitive dependencies.

@napi-rs/image affected by libwebp CVE (High 8.8)