Skip to content

Commit fa73f9a

Browse files
1 parent 8395e93 commit fa73f9a

2 files changed

Lines changed: 151 additions & 0 deletions

File tree

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-jg4p-7fhp-p32p",
4+
"modified": "2026-04-04T04:23:03Z",
5+
"published": "2026-04-04T04:23:03Z",
6+
"aliases": [
7+
"CVE-2026-35213"
8+
],
9+
"summary": "@hapi/content: Regular Expression Denial of Service (ReDoS) in HTTP header parsing",
10+
"details": "All versions of `@hapi/content` through 6.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via crafted HTTP header values. Three regular expressions used to parse `Content-Type` and `Content-Disposition` headers contain patterns susceptible to catastrophic backtracking.\n\n### Impact\n\nDenial of Service. An unauthenticated remote attacker can cause a Node.js process to become unresponsive by sending a single HTTP request with a maliciously crafted header value.\n\n### Patches\n\nFixed by tightening all three regular expressions to eliminate backtracking.\n\n### Workarounds\n\nThere are no known workarounds. Upgrade to the patched version.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "@hapi/content"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "0"
29+
},
30+
{
31+
"fixed": "6.0.1"
32+
}
33+
]
34+
}
35+
],
36+
"database_specific": {
37+
"last_known_affected_version_range": "<= 6.0.0"
38+
}
39+
}
40+
],
41+
"references": [
42+
{
43+
"type": "WEB",
44+
"url": "https://github.com/hapijs/content/security/advisories/GHSA-jg4p-7fhp-p32p"
45+
},
46+
{
47+
"type": "WEB",
48+
"url": "https://github.com/hapijs/content/pull/38"
49+
},
50+
{
51+
"type": "PACKAGE",
52+
"url": "https://github.com/hapijs/content"
53+
}
54+
],
55+
"database_specific": {
56+
"cwe_ids": [
57+
"CWE-1333"
58+
],
59+
"severity": "HIGH",
60+
"github_reviewed": true,
61+
"github_reviewed_at": "2026-04-04T04:23:03Z",
62+
"nvd_published_at": null
63+
}
64+
}
Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-vr5f-2r24-w5hc",
4+
"modified": "2026-04-04T04:22:11Z",
5+
"published": "2026-04-04T04:22:11Z",
6+
"aliases": [
7+
"CVE-2026-35200"
8+
],
9+
"summary": "Parse Server: File upload Content-Type override via extension mismatch",
10+
"details": "### Impact\n\nA file can be uploaded with a filename extension that passes the file extension allowlist (e.g., `.txt`) but with a `Content-Type` header that differs from the extension (e.g., `text/html`). The `Content-Type` is passed to the storage adapter without consistency validation. Storage adapters that store and serve the provided Content-Type (such as S3 or GCS) serve the file with the mismatched Content-Type. The default GridFS adapter is not affected because it derives Content-Type from the filename at serving time.\n\n### Patches\n\nThe file upload now derives the Content-Type from the filename extension, overriding any user-provided Content-Type when the file has an extension.\n\n### Workarounds\n\nConfigure the storage adapter or CDN to derive Content-Type from the filename extension instead of using the stored Content-Type.",
11+
"severity": [
12+
{
13+
"type": "CVSS_V4",
14+
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "npm",
21+
"name": "parse-server"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "9.0.0"
29+
},
30+
{
31+
"fixed": "9.7.1-alpha.4"
32+
}
33+
]
34+
}
35+
]
36+
},
37+
{
38+
"package": {
39+
"ecosystem": "npm",
40+
"name": "parse-server"
41+
},
42+
"ranges": [
43+
{
44+
"type": "ECOSYSTEM",
45+
"events": [
46+
{
47+
"introduced": "0"
48+
},
49+
{
50+
"fixed": "8.6.73"
51+
}
52+
]
53+
}
54+
],
55+
"database_specific": {
56+
"last_known_affected_version_range": "<= 8.6.72"
57+
}
58+
}
59+
],
60+
"references": [
61+
{
62+
"type": "WEB",
63+
"url": "https://github.com/parse-community/parse-server/security/advisories/GHSA-vr5f-2r24-w5hc"
64+
},
65+
{
66+
"type": "WEB",
67+
"url": "https://github.com/parse-community/parse-server/pull/10383"
68+
},
69+
{
70+
"type": "WEB",
71+
"url": "https://github.com/parse-community/parse-server/pull/10384"
72+
},
73+
{
74+
"type": "PACKAGE",
75+
"url": "https://github.com/parse-community/parse-server"
76+
}
77+
],
78+
"database_specific": {
79+
"cwe_ids": [
80+
"CWE-436"
81+
],
82+
"severity": "LOW",
83+
"github_reviewed": true,
84+
"github_reviewed_at": "2026-04-04T04:22:11Z",
85+
"nvd_published_at": null
86+
}
87+
}

0 commit comments

Comments
 (0)