CVE-2017-1000048
published 2017-07-17CVE-2017-1000048: the web framework using ljharb's qs module older than v6.3.2, v6.2.3, v6.1.2, and v6.0.4 is vulnerable to a DoS. A malicious user can send a evil request to…
PriorityP335high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
2.40%
82.3th percentile
the web framework using ljharb's qs module older than v6.3.2, v6.2.3, v6.1.2, and v6.0.4 is vulnerable to a DoS. A malicious user can send a evil request to cause the web framework crash.
Affected
34 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
| qs_project | qs | — | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Prototype Pollution Protection Bypass in qs
osv·2020-04-30
CVE-2017-1000048 [HIGH] Prototype Pollution Protection Bypass in qs
Prototype Pollution Protection Bypass in qs
Affected version of `qs` are vulnerable to Prototype Pollution because it is possible to bypass the protection. The `qs.parse` function fails to properly prevent an object's prototype to be altered when parsing arbitrary input. Input containing `[` or `]` may bypass the prototype pollution protection and alter the Object prototype. This allows attackers to override properties that will exist in all objects, which may lead to Denial of Service or Remote Code Execution in specific circumstances.
## Recommendation
Upgrade to 6.0.4, 6.1.2, 6.2.3, 6.3.2 or later.
GHSA
Prototype Pollution Protection Bypass in qs
ghsa·2020-04-30
CVE-2017-1000048 [HIGH] CWE-20 Prototype Pollution Protection Bypass in qs
Prototype Pollution Protection Bypass in qs
Affected version of `qs` are vulnerable to Prototype Pollution because it is possible to bypass the protection. The `qs.parse` function fails to properly prevent an object's prototype to be altered when parsing arbitrary input. Input containing `[` or `]` may bypass the prototype pollution protection and alter the Object prototype. This allows attackers to override properties that will exist in all objects, which may lead to Denial of Service or Remote Code Execution in specific circumstances.
## Recommendation
Upgrade to 6.0.4, 6.1.2, 6.2.3, 6.3.2 or later.
Red Hat
nodejs-qs: Prototype override protection bypass
vendor_redhat·2017-03-01·CVSS 7.5
CVE-2017-1000048 [HIGH] CWE-20 nodejs-qs: Prototype override protection bypass
nodejs-qs: Prototype override protection bypass
the web framework using ljharb's qs module older than v6.3.2, v6.2.3, v6.1.2, and v6.0.4 is vulnerable to a DoS. A malicious user can send a evil request to cause the web framework crash.
It was found that ljharb's qs module for Node.js did not properly parse query strings. An attacker could send a specially crafted query that overwrites the resulting object's prototype properties (such as toString() or hasOwnProperty()), resulting in a denial of service when the overwritten function would be executed.
Statement: Red Hat Quay include nodejs-qs as a build time dependency. Nodejs-qs is used by protractor for testing as build time, and is not included as runtime.
Package: fh-mbaas (Red Hat Mobile Application Platform 4) - Will not fix
Packa
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-1000048 nodejs-qs: Prototype override protection bypass [fedora-all]
bugzilla·2017-03-01·CVSS 7.5
CVE-2017-1000048 [HIGH] CVE-2017-1000048 nodejs-qs: Prototype override protection bypass [fedora-all]
CVE-2017-1000048 nodejs-qs: Prototype override protection bypass [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions
Bugzilla
CVE-2017-1000048 nodejs-qs: Prototype override protection bypass [epel-6]
bugzilla·2017-03-01·CVSS 7.5
CVE-2017-1000048 [HIGH] CVE-2017-1000048 nodejs-qs: Prototype override protection bypass [epel-6]
CVE-2017-1000048 nodejs-qs: Prototype override protection bypass [epel-6]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-6.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the 'fedpkg u
Bugzilla
CVE-2017-1000048 nodejs-qs: Prototype override protection bypass
bugzilla·2017-03-01·CVSS 7.5
CVE-2017-1000048 [HIGH] CVE-2017-1000048 nodejs-qs: Prototype override protection bypass
CVE-2017-1000048 nodejs-qs: Prototype override protection bypass
By default qs protects against attacks that attempt to overwrite an object's existing prototype properties, such as toString(), hasOwnProperty(),etc.
Overwriting these properties can impact application logic, potentially allowing attackers to work around security controls, modify data, make the application unstable and more.
In versions of the package affected by this vulnerability, it is possible to circumvent this protection and overwrite prototype properties and functions by prefixing the name of the parameter with [ or ]. e.g. qs.parse("]=toString") will return {toString = true}, as a result, calling toString() on the object will throw an exception.
References:
https://snyk.io/vuln/npm:qs:20170213
Upstream patches:
Bugzilla
CVE-2017-1000048 nodejs-qs: Prototype override protection bypass [epel-7]
bugzilla·2017-03-01·CVSS 7.5
CVE-2017-1000048 [HIGH] CVE-2017-1000048 nodejs-qs: Prototype override protection bypass [epel-7]
CVE-2017-1000048 nodejs-qs: Prototype override protection bypass [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following template to for the 'fedpkg u
arXiv
Study of JavaScript Static Analysis Tools for Vulnerability Detection in Node.js Packages
arxiv_fulltext·2023-01-12
Study of JavaScript Static Analysis Tools for Vulnerability Detection in Node.js Packages
Study of JavaScript Static Analysis Tools for Vulnerability Detection in Node.js Packages
Tiago Brito^*, Mafalda Ferreira, Miguel Monteiro, Pedro Lopes, Miguel Barros, José Fragoso Santos, Nuno Santos
\^*tiago.de.oliveira.brito, mafalda.baptista, miguel.figueiredo.monteiro, pedro.daniel.l, miguel.v.barros, jose.fragoso, nuno.m.santos\@tecnico.ulisboa.pt
INESC-ID / IST, Universidade de Lisboa, Portugal
plain
plain
## Abstract
With the emergence of the Node.js ecosystem, JavaScript has become a widely-used programming language for implementing server-side web applications. In this paper, we present the first empirical study of static code analysis tools for detecting vulnerabilities in Node.js code. To conduct a comprehensive tool evaluation, we created the largest known curated datase
2017-07-17
Published