gsd-2021-23346
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-23346",
"description": "This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.",
"id": "GSD-2021-23346",
"references": [
"https://access.redhat.com/errata/RHSA-2021:3016"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2021-23346"
],
"details": "This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.",
"id": "GSD-2021-23346",
"modified": "2023-12-13T01:23:30.277384Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"DATE_PUBLIC": "2021-03-04T16:50:22.856243Z",
"ID": "CVE-2021-23346",
"STATE": "PUBLIC",
"TITLE": "Regular Expression Denial of Service (ReDoS)"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "html-parse-stringify",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_value": "2.0.1"
}
]
}
}
]
},
"vendor_name": "n/a"
},
{
"product": {
"product_data": [
{
"product_name": "html-parse-stringify2",
"version": {
"version_data": [
{
"version_affected": "\u003e=",
"version_value": "0"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "Yeting Li"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 4.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P/RL:O/RC:R",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "Regular Expression Denial of Service (ReDoS)"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306",
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306"
},
{
"name": "https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307",
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307"
},
{
"name": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633",
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633"
},
{
"name": "https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2",
"refsource": "MISC",
"url": "https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2"
},
{
"name": "https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2",
"refsource": "MISC",
"url": "https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2"
},
{
"name": "https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12",
"refsource": "MISC",
"url": "https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c2.0.1",
"affected_versions": "All versions before 2.0.1",
"cvss_v2": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2021-03-09",
"description": "Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.",
"fixed_versions": [
"2.0.1"
],
"identifier": "CVE-2021-23346",
"identifiers": [
"CVE-2021-23346"
],
"not_impacted": "All versions starting from 2.0.1",
"package_slug": "npm/html-parse-stringify",
"pubdate": "2021-03-04",
"solution": "Upgrade to version 2.0.1 or above.",
"title": "Uncontrolled Resource Consumption",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-23346"
],
"uuid": "d0f46f27-86e2-4a4c-84d8-15164a44c37b"
},
{
"affected_range": "\u003c=2.0.1",
"affected_versions": "All versions up to 2.0.1",
"cvss_v2": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2021-03-18",
"description": "This affects the package html-parse-stringify ; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process.",
"fixed_versions": [],
"identifier": "CVE-2021-23346",
"identifiers": [
"GHSA-545q-3fg6-48m7",
"CVE-2021-23346"
],
"not_impacted": "",
"package_slug": "npm/html-parse-stringify2",
"pubdate": "2021-03-18",
"solution": "Unfortunately, there is no solution available yet.",
"title": "Regular expression denial of service (ReDoS)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-23346",
"https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12",
"https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2",
"https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633",
"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306",
"https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307",
"https://github.com/HenrikJoreteg/html-parse-stringify/releases/tag/v2.0.1",
"https://github.com/advisories/GHSA-545q-3fg6-48m7"
],
"uuid": "22782471-0508-4adc-aa79-5ea2c144f2f9"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:html-parse-stringify_project:html-parse-stringify:*:*:*:*:*:node.js:*:*",
"cpe_name": [],
"versionEndExcluding": "2.0.1",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"ID": "CVE-2021-23346"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "This affects the package html-parse-stringify before 2.0.1; all versions of package html-parse-stringify2. Sending certain input could cause one of the regular expressions that is used for parsing to backtrack, freezing the process."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-Other"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Exploit",
"Patch",
"Third Party Advisory"
],
"url": "https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY-1079306"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Exploit",
"Patch",
"Third Party Advisory"
],
"url": "https://snyk.io/vuln/SNYK-JS-HTMLPARSESTRINGIFY2-1079307"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Broken Link",
"Third Party Advisory"
],
"url": "https://github.com/HenrikJoreteg/html-parse-stringify/blob/master/lib/parse.js%23L2"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Exploit",
"Patch",
"Third Party Advisory"
],
"url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1080633"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Broken Link",
"Third Party Advisory"
],
"url": "https://github.com/rayd/html-parse-stringify2/blob/master/lib/parse.js%23L2"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/HenrikJoreteg/html-parse-stringify/commit/c7274a48e59c92b2b7e906fedf9065159e73fe12"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 5.0,
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": false
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 1.4
}
},
"lastModifiedDate": "2021-03-09T14:58Z",
"publishedDate": "2021-03-04T17:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…