Lookup for vulnerable packages by Package URL.

Purlpkg:npm/fsevents@1.2.11
Typenpm
Namespace
Namefsevents
Version1.2.11
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version1.2.11
Latest_non_vulnerable_version1.2.11
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-gkxt-qw12-gfeb
vulnerability_id VCID-gkxt-qw12-gfeb
summary
Malware in fsevents
This advisory is intended to inform the npm ecosystem with details to resolve a third-party malware incident that may have impacted your infrastructure if you are directly or transitively dependent on the [fsevents](https://www.npmjs.com/package/fsevents) npm package.

fsevents v1.0.0 <= v1.2.10 downloaded binary executables that contained unintended code due to an expired cloud storage resource being reclaimed by a third party.

The fsevents npm package v1.0.0 through v1.2.10 attempts to fetch a pre-built binary executable artifact (fse.node) from cloud storage. If this fetch fails, fsevents v1.x will attempt to build this artifact directly from source.

Version 1.x of fsevents has been deprecated for several years and as a result the aforementioned cloud storage resource namespace was available for registration. A third party, unrelated to the fsevents maintainers, subsequently claimed this namespace and in April 2023 this third party started serving modified versions of the “fse.node” binary executable artifact to new fsevents v1.x users.

As of April 27, 2023 the cloud storage resource in question has been indefinitely suspended and is no longer serving binaries.

The affected cloud storage pre-fetch was [removed](https://github.com/fsevents/fsevents/commit/909af26846834642c81d19f4148afa3b7557b058) in fsevents version 1.2.11.

The impact of the modified versions of fse.node appears to be limited to information gathering.

Note that initial analysis was performed for the modified artifact associated with fsevents v1.2.9, which was distributed as fse-v1.2.9-node-v72-darwin-x64.tar.gz prior to the cloud storage resource being suspended.

For more detailed analysis you may compare a decompilation of the v1.x fse.node artifacts on your systems with the intended fsevents v1.x source as it exists at https://github.com/fsevents/fsevents/tree/v1.x

 If you are dependent on the deprecated version of fsevents v1.x, the recommended course of action is to upgrade to fsevents v2.x or remove the dependency altogether as currently maintained versions of Node.js no longer require fsevents for file system watching on macOS.
references
0
reference_url https://github.com/fsevents/fsevents/commit/909af26846834642c81d19f4148afa3b7557b058
reference_id
reference_type
scores
url https://github.com/fsevents/fsevents/commit/909af26846834642c81d19f4148afa3b7557b058
1
reference_url https://github.com/advisories/GHSA-xv2f-5jw4-v95m
reference_id GHSA-xv2f-5jw4-v95m
reference_type
scores
url https://github.com/advisories/GHSA-xv2f-5jw4-v95m
fixed_packages
0
url pkg:npm/fsevents@1.2.11
purl pkg:npm/fsevents@1.2.11
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/fsevents@1.2.11
aliases GHSA-xv2f-5jw4-v95m, GMS-2023-2160
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-gkxt-qw12-gfeb
1
url VCID-kejm-14kp-47ee
vulnerability_id VCID-kejm-14kp-47ee
summary
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
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
0
reference_url https://github.com/atlassian/moo/blob/56ccbdd41b493332bc2cd7a4097a5802594cdb9c/package-lock.json#L1901-L1902
reference_id
reference_type
scores
url https://github.com/atlassian/moo/blob/56ccbdd41b493332bc2cd7a4097a5802594cdb9c/package-lock.json#L1901-L1902
1
reference_url https://github.com/atlassian/react-immutable-proptypes/blob/ddb9fa5194b931bf7528eb4f2c0a8c3434f70edd/package-lock.json#L153
reference_id
reference_type
scores
url https://github.com/atlassian/react-immutable-proptypes/blob/ddb9fa5194b931bf7528eb4f2c0a8c3434f70edd/package-lock.json#L153
2
reference_url https://github.com/cloudflare/authr/blob/3f6129d97d06e61033a7f237d84e35e678db490f/ts/package-lock.json#L1512
reference_id
reference_type
scores
url https://github.com/cloudflare/authr/blob/3f6129d97d06e61033a7f237d84e35e678db490f/ts/package-lock.json#L1512
3
reference_url https://github.com/cloudflare/hugo-cloudflare-docs/blob/e0f7cfa195af8ef1bfa51a487be7d34ba298ed06/package-lock.json#L494
reference_id
reference_type
scores
url https://github.com/cloudflare/hugo-cloudflare-docs/blob/e0f7cfa195af8ef1bfa51a487be7d34ba298ed06/package-lock.json#L494
4
reference_url https://github.com/cloudflare/redux-grim/blob/b652f99f95fb16812336073951adc5c5a93e2c23/package-lock.json#L266-L267
reference_id
reference_type
scores
url https://github.com/cloudflare/redux-grim/blob/b652f99f95fb16812336073951adc5c5a93e2c23/package-lock.json#L266-L267
5
reference_url https://github.com/cloudflare/serverless-cloudflare-workers/blob/e95e1e9c9770ed9a3d9480c1fa73e64391268354/package-lock.json#L737
reference_id
reference_type
scores
url https://github.com/cloudflare/serverless-cloudflare-workers/blob/e95e1e9c9770ed9a3d9480c1fa73e64391268354/package-lock.json#L737
6
reference_url https://github.com/fsevents/fsevents/commit/909af26846834642c81d19f4148afa3b7557b058
reference_id
reference_type
scores
url https://github.com/fsevents/fsevents/commit/909af26846834642c81d19f4148afa3b7557b058
7
reference_url https://github.com/fsevents/fsevents/compare/v1.2.10...v1.2.11
reference_id
reference_type
scores
url https://github.com/fsevents/fsevents/compare/v1.2.10...v1.2.11
8
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-45311
reference_id CVE-2023-45311
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2023-45311
9
reference_url https://github.com/advisories/GHSA-8r6j-v8pm-fqw3
reference_id GHSA-8r6j-v8pm-fqw3
reference_type
scores
url https://github.com/advisories/GHSA-8r6j-v8pm-fqw3
fixed_packages
0
url pkg:npm/fsevents@1.2.11
purl pkg:npm/fsevents@1.2.11
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/fsevents@1.2.11
aliases CVE-2023-45311, GHSA-8r6j-v8pm-fqw3
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-kejm-14kp-47ee
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/fsevents@1.2.11