Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. fsevents
  4. ›
  5. CVE-2023-45311

CVE-2023-45311: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

October 6, 2023 (updated November 28, 2023)

fsevents before 1.2.11 depends on the https://fsevents-binaries.s3-us-west-2.amazonaws.com URL, which might allow an adversary to execute arbitrary code if any JavaScript project (that depends on fsevents) distributes code that was obtained from that URL at a time when it was controlled by an adversary.

References

  • github.com/advisories/GHSA-8r6j-v8pm-fqw3
  • github.com/atlassian/moo/blob/56ccbdd41b493332bc2cd7a4097a5802594cdb9c/package-lock.json
  • github.com/atlassian/react-immutable-proptypes/blob/ddb9fa5194b931bf7528eb4f2c0a8c3434f70edd/package-lock.json
  • github.com/cloudflare/authr/blob/3f6129d97d06e61033a7f237d84e35e678db490f/ts/package-lock.json
  • github.com/cloudflare/hugo-cloudflare-docs/blob/e0f7cfa195af8ef1bfa51a487be7d34ba298ed06/package-lock.json
  • github.com/cloudflare/redux-grim/blob/b652f99f95fb16812336073951adc5c5a93e2c23/package-lock.json
  • github.com/cloudflare/serverless-cloudflare-workers/blob/e95e1e9c9770ed9a3d9480c1fa73e64391268354/package-lock.json
  • github.com/fsevents/fsevents/commit/909af26846834642c81d19f4148afa3b7557b058
  • github.com/fsevents/fsevents/compare/v1.2.10...v1.2.11
  • nvd.nist.gov/vuln/detail/CVE-2023-45311

Code Behaviors & Features

Detect and mitigate CVE-2023-45311 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 →

Affected versions

All versions before 1.2.11

Fixed versions

  • 1.2.11

Solution

Upgrade to version 1.2.11 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/fsevents/CVE-2023-45311.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.