You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
Description
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
CVE Modified by GitHub, Inc.11/06/2023 10:05:43 PM
Action
Type
Old Value
New Value
Added
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/ [No types assigned]
Removed
Reference
GitHub, Inc. https://lists.fedoraproject.org/archives/list/[email protected]/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
Reanalysis by NIST8/02/2022 4:45:32 PM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:cli_project:cli:*:*:*:*:*:node.js:*:* versions up to (excluding) 6.13.3
OR
*cpe:2.3:a:npmjs:npm:*:*:*:*:*:*:*:* versions up to (excluding) 6.13.3
Modified Analysis by NIST10/07/2020 12:49:46 PM
Action
Type
Old Value
New Value
Added
CWE
NIST CWE-22
Removed
CWE
NIST CWE-20
Added
CPE Configuration
OR
*cpe:2.3:a:oracle:graalvm:19.3.0.2:*:*:*:enterprise:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Added
CPE Configuration
OR
*cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
*cpe:2.3:o:redhat:enterprise_linux_eus:8.1:*:*:*:*:*:*:*
Changed
Reference Type
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html No Types Assigned
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html Mailing List, Third Party Advisory
Changed
Reference Type
https://access.redhat.com/errata/RHEA-2020:0330 No Types Assigned
https://access.redhat.com/errata/RHEA-2020:0330 Third Party Advisory
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2020:0573 No Types Assigned
https://access.redhat.com/errata/RHSA-2020:0573 Third Party Advisory
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2020:0579 No Types Assigned
https://access.redhat.com/errata/RHSA-2020:0579 Third Party Advisory
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2020:0597 No Types Assigned
https://access.redhat.com/errata/RHSA-2020:0597 Third Party Advisory
Changed
Reference Type
https://access.redhat.com/errata/RHSA-2020:0602 No Types Assigned
https://access.redhat.com/errata/RHSA-2020:0602 Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/[email protected]/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/ No Types Assigned
https://lists.fedoraproject.org/archives/list/[email protected]/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/ Third Party Advisory
Changed
Reference Type
https://www.oracle.com/security-alerts/cpujan2020.html No Types Assigned
https://www.oracle.com/security-alerts/cpujan2020.html Third Party Advisory
CVE Modified by GitHub, Inc.4/07/2020 3:15:12 PM
Action
Type
Old Value
New Value
Changed
Description
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user’s system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user?s system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access to arbitrary files on a user’s system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.