文件
websafe-kb/08-threat-intel/registry/advisories/undici--CVE-2022-31150.json

81 行
2.9 KiB
JSON

{
"canonical_id": "undici--CVE-2022-31150",
"system_id": "undici",
"display_name": "Undici",
"category": "frameworks",
"advisory_mode": "core",
"title": "undici before v5.8.0 vulnerable to CRLF injection in request headers",
"summary": "### Impact\n\nIt is possible to inject CRLF sequences into request headers in Undici.\n\n```js\nconst undici = require('undici')\n\nconst response = undici.request(\"http://127.0.0.1:1000\", {\n headers: {'a': \"\\r\\nb\"}\n})\n```\n\nThe same applies to `path` and `method`\n\n### Patches\n\nUpdate to v5.8.0\n\n### Workarounds\n\nSanitize all HTTP headers from untrusted sources to eliminate `\\r\\n`.\n\n### References\n\nhttps://hackerone.com/reports/409943\nhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12116\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [undici repository](https://github.com/nodejs/undici/issues)\n* To make a report, follow the [SECURITY](https://github.com/nodejs/node/blob/HEAD/SECURITY.md) document\n",
"published_at": "2022-07-21T20:30:10Z",
"updated_at": "2023-11-08T04:09:27.728154Z",
"severity": "medium",
"cvss_score": 3.1,
"exploit_status": "unknown",
"source_confidence": "official",
"official_source_url": "https://github.com/nodejs/undici/security/advisories/GHSA-3cvr-822r-rqcc",
"secondary_source_urls": [
"https://github.com/nodejs/undici/releases/tag/v5.8.0",
"https://nvd.nist.gov/vuln/detail/CVE-2022-31150",
"https://github.com/nodejs/undici/commit/a29a151d0140d095742d21a004023d024fe93259",
"https://hackerone.com/reports/409943",
"https://github.com/nodejs/undici",
"https://security.netapp.com/advisory/ntap-20220915-0002",
"https://security.netapp.com/advisory/ntap-20220915-0002/"
],
"aliases": [
"CVE-2022-31150",
"GHSA-3cvr-822r-rqcc"
],
"cve_ids": [
"CVE-2022-31150"
],
"ghsa_ids": [
"GHSA-3cvr-822r-rqcc"
],
"osv_ids": [
"GHSA-3cvr-822r-rqcc"
],
"affected_versions": [
"introduced=0, fixed<5.8.0"
],
"fixed_versions": [
"5.8.0"
],
"package_name": "undici",
"render_markdown": true,
"case_path": "07-framework-security/frameworks/undici/cases/undici-cve-2022-31150.md",
"secure_code_topics": [
"ssrf-url-validation",
"proxy-trust-boundary",
"dependency-upgrade-policy"
],
"status": "generated",
"triage_reasons": [],
"verification_status": "triage-manual",
"verification_mode": "synthetic",
"last_verified_at": null,
"last_run_id": null,
"evidence_bundle": null,
"historical_status": null,
"latest_status": null,
"browser_evidence": {
"required": false,
"present": false,
"refs": []
},
"repro_profile_id": "undici-ssrf",
"artifact_mode": "synthetic",
"blocked_reason": null,
"metadata": {
"source_names": [
"OSV Undici",
"NVD Undici"
],
"source_kinds": [
"osv-batch",
"nvd-search"
],
"candidate_count": 2
}
}