CVE-2023-45311
JavaScript vulnerability analysis and mitigation

Overview

fsevents before version 1.2.11 contains a vulnerability where it depends on the https://fsevents-binaries.s3-us-west-2.amazonaws.com URL for loading binaries. This dependency could potentially allow an adversary to execute arbitrary code if any JavaScript project (that depends on fsevents) distributes code obtained from that URL when it was under adversary control. The vulnerability was discovered and disclosed on October 6, 2023 (NVD).

Technical details

The vulnerability is classified with a CVSS v3.1 Base Score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue stems from the package's dependency on a hardcoded S3 bucket URL for loading binary files, which could be potentially compromised by malicious actors. The vulnerability is tracked as CWE-94 (Improper Control of Generation of Code) (NVD).

Impact

If exploited, this vulnerability could allow attackers to execute arbitrary code through compromised binaries if they gained control of the specified S3 bucket URL. This could affect any JavaScript project that depends on the vulnerable versions of fsevents and distributes code obtained from the compromised URL (NVD).

Mitigation and workarounds

The vulnerability was fixed in version 1.2.11 by removing the dependency on the remote binary loading. Users should upgrade to fsevents version 1.2.11 or higher to mitigate this vulnerability. Additionally, AWS has blocked access to the vulnerable S3 bucket, providing an additional layer of protection (Snyk, GitHub Compare).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management