---
title: "CVE-2023-45311: Code injection in fsevents"
url: https://erroneo.us/security/cve/CVE-2023-45311/
description: "CVE-2023-45311 (fsevents (npm)): fsevents before 1.2.11 depends on the https://fsevents-binaries.s3-us-west-2.amazonaws.com URL, which might allow an…"
type: vulnerability-record
section: "Security Digest"
date_published: 2023-10-06
date_modified: 2024-11-26
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2023-45311"
kev: false
cvss: 9.8
epss: 0.01704
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2023-45311: Code injection in fsevents

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 1.7% , percentile 77: FIRST’s model estimates a 1.7% chance of exploitation activity in the next 30 days, higher than 77% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes fsevents (npm) <= 1.2.10, fixed in 1.2.11 . Check your lockfile, including transitive dependencies.

## What it is

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. NOTE: some sources feel that this means that no version is affected any longer, because the URL is not controlled by an adversary.

## Affected packages

- npm `fsevents` <= 1.2.10 → fixed: 1.2.11

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

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

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 1.70% probability of exploitation activity in the next 30 days; percentile 77.

## Sources

- [GitHub Advisory GHSA-8r6j-v8pm-fqw3](https://github.com/advisories/GHSA-8r6j-v8pm-fqw3)
- [CVE.org record CVE-2023-45311](https://www.cve.org/CVERecord?id=CVE-2023-45311)
- [NVD entry CVE-2023-45311](https://nvd.nist.gov/vuln/detail/CVE-2023-45311)
- [github.com](https://github.com/fsevents/fsevents/compare/v1.2.10...v1.2.11)
- [github.com](https://github.com/atlassian/react-immutable-proptypes/blob/ddb9fa5194b931bf7528eb4f2c0a8c3434f70edd/package-lock.json#L153)
- [github.com](https://github.com/atlassian/moo/blob/56ccbdd41b493332bc2cd7a4097a5802594cdb9c/package-lock.json#L1901-L1902)
- [github.com](https://github.com/cloudflare/authr/blob/3f6129d97d06e61033a7f237d84e35e678db490f/ts/package-lock.json#L1512)
- [github.com](https://github.com/cloudflare/hugo-cloudflare-docs/blob/e0f7cfa195af8ef1bfa51a487be7d34ba298ed06/package-lock.json#L494)
- [github.com](https://github.com/cloudflare/redux-grim/blob/b652f99f95fb16812336073951adc5c5a93e2c23/package-lock.json#L266-L267)
- [github.com](https://github.com/cloudflare/serverless-cloudflare-workers/blob/e95e1e9c9770ed9a3d9480c1fa73e64391268354/package-lock.json#L737)
- [security.snyk.io](https://security.snyk.io/vuln/SNYK-JS-FSEVENTS-5487987)
- [github.com](https://github.com/fsevents/fsevents/commit/909af26846834642c81d19f4148afa3b7557b058)

---
Source page: https://erroneo.us/security/cve/CVE-2023-45311/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
