GHSA-Q75G-2496-MXPP
Vulnerability from github – Published: 2018-07-24 20:11 – Updated: 2020-08-31 18:26
VLAI?
Summary
Regular Expression Denial of Service in parsejson
Details
Affected versions of parsejson are vulnerable to a regular expression denial of service when parsing untrusted user input.
Recommendation
The parsejson package has not been functionally updated since it was initially released.
Additionally, it provides functionality which is natively included in Node.js, and therefore the native JSON.parse() should be used, for both performance and security reasons.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "parsejson"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.0.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2017-16113"
],
"database_specific": {
"cwe_ids": [
"CWE-400"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:51:20Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "Affected versions of `parsejson` are vulnerable to a regular expression denial of service when parsing untrusted user input.\n\n\n## Recommendation\n\nThe `parsejson` package has not been functionally updated since it was initially released.\n\nAdditionally, it provides functionality which is natively included in Node.js, and therefore the native `JSON.parse()` should be used, for both performance and security reasons.",
"id": "GHSA-q75g-2496-mxpp",
"modified": "2020-08-31T18:26:32Z",
"published": "2018-07-24T20:11:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16113"
},
{
"type": "WEB",
"url": "https://github.com/get/parsejson/issues/4"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-q75g-2496-mxpp"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/528"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Regular Expression Denial of Service in parsejson"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…