gsd-2022-25901
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
Versions of the package cookiejar before 2.1.4 are vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse function, which uses an insecure regular expression.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2022-25901",
"description": "Versions of the package cookiejar before 2.1.4 are vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse function, which uses an insecure regular expression.",
"id": "GSD-2022-25901"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2022-25901"
],
"details": "Versions of the package cookiejar before 2.1.4 are vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse function, which uses an insecure regular expression.\r\r",
"id": "GSD-2022-25901",
"modified": "2023-12-13T01:19:27.209796Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"ID": "CVE-2022-25901",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "cookiejar",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "0",
"version_value": "2.1.4"
}
]
}
},
{
"product_name": "org.webjars.npm:cookiejar",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_name": "0",
"version_value": "*"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"credits": [
{
"lang": "en",
"value": "Carter Snook"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Versions of the package cookiejar before 2.1.4 are vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse function, which uses an insecure regular expression.\r\r"
}
]
},
"impact": {
"cvss": [
{
"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/E:P",
"version": "3.1"
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"cweId": "CWE-1333",
"lang": "eng",
"value": "Regular Expression Denial of Service (ReDoS)"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984",
"refsource": "MISC",
"url": "https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984"
},
{
"name": "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681",
"refsource": "MISC",
"url": "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681"
},
{
"name": "https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73",
"refsource": "MISC",
"url": "https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73"
},
{
"name": "https://github.com/bmeck/node-cookiejar/pull/39",
"refsource": "MISC",
"url": "https://github.com/bmeck/node-cookiejar/pull/39"
},
{
"name": "https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5",
"refsource": "MISC",
"url": "https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5"
},
{
"name": "https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html",
"refsource": "MISC",
"url": "https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "(,2.1.3]",
"affected_versions": "All versions up to 2.1.3",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2023-01-23",
"description": "Versions of the package cookiejar before 2.1.4 is vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse function, which uses an insecure regular expression.",
"fixed_versions": [],
"identifier": "CVE-2022-25901",
"identifiers": [
"GHSA-h452-7996-h45h",
"CVE-2022-25901"
],
"not_impacted": "",
"package_slug": "maven/org.webjars.npm/cookiejar",
"pubdate": "2023-01-18",
"solution": "Unfortunately, there is no solution available yet.",
"title": "cookiejar Regular Expression Denial of Service via Cookie.parse function",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-25901",
"https://github.com/bmeck/node-cookiejar/pull/39",
"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5",
"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681",
"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984",
"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js#23L73",
"https://github.com/advisories/GHSA-h452-7996-h45h"
],
"uuid": "6c4da37c-898b-4d79-a2f9-7fc424665529"
},
{
"affected_range": "\u003c=2.1.3",
"affected_versions": "All versions up to 2.1.3",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-1333",
"CWE-937"
],
"date": "2023-01-25",
"description": "Versions of the package cookiejar before 2.1.4 is vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse function, which uses an insecure regular expression.",
"fixed_versions": [
"2.1.4"
],
"identifier": "CVE-2022-25901",
"identifiers": [
"CVE-2022-25901",
"GHSA-h452-7996-h45h"
],
"not_impacted": "All versions after 2.1.3",
"package_slug": "npm/cookiejar",
"pubdate": "2023-01-18",
"solution": "Upgrade to version 2.1.4 or above.",
"title": "cookiejar Regular Expression Denial of Service via Cookie.parse function",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2022-25901",
"https://github.com/bmeck/node-cookiejar/pull/39",
"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5",
"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681",
"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984",
"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js#23L73",
"https://github.com/advisories/GHSA-h452-7996-h45h"
],
"uuid": "eca63307-3a6e-4e16-96f8-8ca0a51d689f"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:cookiejar_project:cookiejar:*:*:*:*:*:node.js:*:*",
"cpe_name": [],
"versionEndIncluding": "2.1.3",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"ID": "CVE-2022-25901"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Versions of the package cookiejar before 2.1.4 are vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse function, which uses an insecure regular expression."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-1333"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5"
},
{
"name": "https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984"
},
{
"name": "https://github.com/bmeck/node-cookiejar/pull/39",
"refsource": "MISC",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/bmeck/node-cookiejar/pull/39"
},
{
"name": "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681"
},
{
"name": "https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73",
"refsource": "MISC",
"tags": [
"Broken Link"
],
"url": "https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"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:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6
}
},
"lastModifiedDate": "2023-01-25T18:21Z",
"publishedDate": "2023-01-18T05: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…