Skip to content

Commit dcf0ca1

Browse files
committed
1 parent 7438d5a commit dcf0ca1

1 file changed

Lines changed: 15 additions & 34 deletions

File tree

advisories/github-reviewed/2026/06/GHSA-5jmj-h7xm-6q6v/GHSA-5jmj-h7xm-6q6v.json

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,20 @@
11
{
22
"schema_version": "1.4.0",
33
"id": "GHSA-5jmj-h7xm-6q6v",
4-
"modified": "2026-06-30T21:06:37Z",
4+
"modified": "2026-06-30T21:06:39Z",
55
"published": "2026-06-23T21:23:58Z",
66
"aliases": [
77
"CVE-2026-54515"
88
],
9-
"summary": "jackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties",
10-
"details": "## Summary\nIn `BeanDeserializerBase.createContextual()`, per-property `@JsonIgnoreProperties` exclusions are applied by `_handleByNameInclusion()`, producing a `contextual` deserializer whose `BeanPropertyMap` has the ignored properties removed. The subsequent per-property case-insensitivity block (triggered by `@JsonFormat(ACCEPT_CASE_INSENSITIVE_PROPERTIES)`) rebuilds from `this._beanProperties` (the original, unfiltered map) instead of `contextual._beanProperties`, then overwrites the filtered map — restoring every property `_handleByNameInclusion` had just removed. The ignored property becomes writable again.\n\n## Impact\nAn application that both enables case-insensitive matching and relies on per-property `@JsonIgnoreProperties` to keep a field unwritable can have that field set from untrusted JSON (mass-assignment-style write).\n\n## Affected / Patched\nWill be fixed in 2.18.9, 2.21.5, 2.22.1 and 3.1.4.\n\n## Severity / CWE\nMaintainer: minor. Reporter: Moderate. CWE-915.\n\n## Upstream fix\nFasterXML/jackson-databind#5962 (PR #5964, `0e1b0b2`), milestone 3.1.4. Released 2026-06-04.",
9+
"summary": "Case-insensitive deserialization bypasses per-property @JsonIgnoreProperties in jackson-databind",
10+
"details": "## Summary\nIn `BeanDeserializerBase.createContextual()`, per-property `@JsonIgnoreProperties` exclusions are applied by `_handleByNameInclusion()`, producing a `contextual` deserializer whose `BeanPropertyMap` has the ignored properties removed. The subsequent per-property case-insensitivity block (triggered by `@JsonFormat(ACCEPT_CASE_INSENSITIVE_PROPERTIES)`) rebuilds from `this._beanProperties` (the original, unfiltered map) instead of `contextual._beanProperties`, then overwrites the filtered map — restoring every property `_handleByNameInclusion` had just removed. The ignored property becomes writable again.\n\n## Impact\nAn application that both enables case-insensitive matching and relies on per-property `@JsonIgnoreProperties` to keep a field unwritable can have that field set from untrusted JSON (mass-assignment-style write).\n\n## Affected / Patched\nFixed in 2.18.9, 2.21.5, 2.22.1 and 3.1.4.\n\n## Severity / CWE\nMaintainer: minor. Reporter: Moderate. CWE-915.\n\n## Upstream fix\nFasterXML/jackson-databind#5962 (PR #5964, `0e1b0b2`), milestone 3.1.4. Released 2026-06-04.\n\n## Credits\n",
1111
"severity": [
1212
{
1313
"type": "CVSS_V3",
1414
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
1515
}
1616
],
1717
"affected": [
18-
{
19-
"package": {
20-
"ecosystem": "Maven",
21-
"name": "com.fasterxml.jackson.core:jackson-databind"
22-
},
23-
"ranges": [
24-
{
25-
"type": "ECOSYSTEM",
26-
"events": [
27-
{
28-
"introduced": "3.1.0"
29-
}
30-
]
31-
}
32-
],
33-
"database_specific": {
34-
"last_known_affected_version_range": "< 3.1.4"
35-
}
36-
},
3718
{
3819
"package": {
3920
"ecosystem": "Maven",
@@ -64,13 +45,13 @@
6445
"events": [
6546
{
6647
"introduced": "2.8.0"
48+
},
49+
{
50+
"fixed": "2.18.9"
6751
}
6852
]
6953
}
70-
],
71-
"database_specific": {
72-
"last_known_affected_version_range": "< 2.18.9"
73-
}
54+
]
7455
},
7556
{
7657
"package": {
@@ -83,13 +64,13 @@
8364
"events": [
8465
{
8566
"introduced": "2.19.0"
67+
},
68+
{
69+
"fixed": "2.21.5"
8670
}
8771
]
8872
}
89-
],
90-
"database_specific": {
91-
"last_known_affected_version_range": "< 2.21.5"
92-
}
73+
]
9374
},
9475
{
9576
"package": {
@@ -102,13 +83,13 @@
10283
"events": [
10384
{
10485
"introduced": "2.22.0"
86+
},
87+
{
88+
"fixed": "2.22.1"
10589
}
10690
]
10791
}
108-
],
109-
"database_specific": {
110-
"last_known_affected_version_range": "< 2.22.1"
111-
}
92+
]
11293
}
11394
],
11495
"references": [

0 commit comments

Comments
 (0)