Katalog CVE

CVE-2026-68496

WysokieCVSS 7.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Podwyższone ryzyko
0.67%

Percentyl 50 - wyżej niż 50% wszystkich znanych CVE

Streszczenie

Parser Smile w bibliotece FasterXML jackson-dataformats-binary nie wywołuje metody StreamReadConstraints.validateNameLength() podczas dekodowania nazw właściwości obiektów JSON, przez co limit maxNameLength nie jest egzekwowany dla tego formatu. Atakujący, który może dostarczyć dokument Smile do parsowania, może osadzić nazwę właściwości o nieograniczonej długości, co prowadzi do wyczerpania pamięci i odmowy usługi. Luka dotyczy również formatu CBOR, a oba błędy są opisane w doradztwie GHSA-3v8f-v6vx-fmrm.

Ocena ryzyka

Organizacja narażona jest na atak DoS poprzez przesłanie specjalnie spreparowanego dokumentu Smile do punktu końcowego parsującego. Nie są wymagane żadne specjalne uprawnienia poza możliwością przesłania danych, co czyni lukę łatwą do wykorzystania przez zewnętrznych atakujących.

Rekomendacja

Zaleca się aktualizację jackson-dataformats-binary do wersji, która naprawia ten problem (zgodnie z doradztwem GHSA-3v8f-v6vx-fmrm). Jeśli aktualizacja nie jest możliwa, należy ograniczyć dostęp do punktów końcowych parsujących Smile/CBOR i monitorować zużycie pamięci.

Inne podatności w jackson-dataformats-binary

Oryginalny opis (angielski, źródło NVD)

The Smile parser in FasterXML jackson-dataformats-binary never invokes StreamReadConstraints.validateNameLength() when decoding JSON object property names, so the maxNameLength limit is not enforced for this format. SmileParser._handleLongFieldName() grows its internal name buffer through an unconstrained _growArrayTo() call and performs no length validation. An attacker who can have a Smile document parsed may therefore embed a single property name of unbounded length; the parser buffers the whole name in memory before returning it, whatever maxNameLength is configured to. Because StreamReadConstraints.maxDocumentLength is also disabled by default, nothing else bounds the name under default settings, so the only limits are the attacker's upload capacity and available heap, leading to memory exhaustion and denial of service. No privileges beyond the ability to submit data to a parsing endpoint are required, and exploitation needs only that the bytes reach SmileFactory parsing, directly or through an ObjectMapper configured with the Smile module. jackson-core's own JSON parsers enforce maxNameLength incrementally during name decoding; this gap is specific to the binary formats. maxNameLength and validateNameLength were introduced in jackson-core 2.16.0, so releases before 2.16.0 do not contain the constraint that is left unenforced. This issue is tracked together with the CBOR parser defect in the same vendor advisory, GHSA-3v8f-v6vx-fmrm, which covers both binary formats. The Smile parser defect (jackson-dataformats-binary issue #726) is CVE-2026-68496; the CBOR parser defect (issue #725) is assigned CVE-2026-68495.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS