GitHub Advisory Database
GHSA-3x8x-79m2-3w2w
jackson-databind possible Denial of Service if using JDK serialization to serialize JsonNode
Details
jackson-databind 2.10.x through 2.12.x before 2.12.6 and 2.13.x before 2.13.1 allows attackers to cause a denial of service (2 GB transient heap usage per read) in uncommon situations involving JsonNode JDK serialization.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.fasterxml.jackson.core:jackson-databind | From 2.10.0 before 2.12.6 (fixed in 2.12.6) |
| Maven | com.fasterxml.jackson.core:jackson-databind | From 2.13.0 before 2.13.1 (fixed in 2.13.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-46877
- https://github.com/FasterXML/jackson-databind/issues/3328
- https://github.com/FasterXML/jackson-databind/commit/3ccde7d938fea547e598fdefe9a82cff37fed5cb
- https://github.com/FasterXML/jackson-databind
- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.12.6
- https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.13.1
- https://groups.google.com/g/jackson-user/c/OsBsirPM_Vw