This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.
A successful attack has high impact: crashing the system or making it unavailable.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official description
When mapping inbound record headers, JsonKafkaHeaderMapper and DefaultKafkaHeaderMapper (used by the default message converters) deserialize each header value into the type named for it in the producer-controlled spring_json_header_types header, provided that type's package is trusted. Because org.springframework.util is trusted by default, a producer can declare org.springframework.util.ResizableByteArrayOutputStream and supply a number as the header value, causing the consumer to allocate a buffer of that size while mapping the header.
With Jackson 3, a single header with a large value raises an OutOfMemoryError that is not caught by the mapper, so the listener container stops before the record is committed, and stops again on the same record after a restart. With Jackson 2, a single record carrying many such headers can exhaust the heap with the same result. In both cases, a small record is enough for a malicious producer to repeatedly stop consumption and put memory pressure on the whole application.
An application is affected if it consumes records from a topic that an attacker can produce to and maps headers with JsonKafkaHeaderMapper or DefaultKafkaHeaderMapper , which is the default for @KafkaListener methods and other listeners using the messaging message converters.
A high privileged remote attacker can read arbitrary files via an intended download function in the devices backend. This function is missing file whitelisting. This can result in a total loss of confidentiality.
The CherryPy REST API reflected the request Origin header in Access-Control-Allow-Origin while also allowing credentials, and the CORS preflight handler set a session token on unauthenticated OPTIONS requests. Any…
The Participants Database WordPress plugin through 2.7.8.5 does not adequately sanitise and escape a parameter used to build a SQL query in its Manage Fields group-reorder action, allowing users with the Participants…
The Participants Database WordPress plugin through 2.7.8.5 does not restrict which fields can be written through its public signup form, allowing unauthenticated users to update the values of any existing record,…
The Participants Database WordPress plugin through 2.7.8.5 does not validate the destination of an image-field URL beyond a permissive check before passing an attacker-supplied absolute URL to a server-side image fetch…
The Participants Database WordPress plugin through 2.7.8.5 does not restrict the search field of its unauthenticated front-end list-search action to the fields an administrator marked searchable, letting…