Описание
Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component.
The Camel-LevelDB DefaultLevelDBSerializer class deserializes data read from the LevelDB aggregation repository using java.io.ObjectInputStream without applying any ObjectInputFilter or class-loading restrictions. An attacker who can write to the LevelDB database files used by a Camel application can inject a crafted serialized Java object that, when deserialized during normal aggregation repository operations, results in arbitrary code execution in the context of the application.
This issue affects Apache Camel: from 4.10.0 before 4.10.8, from 4.14.0 before 4.14.5, from 4.15.0 before 4.18.0.
Users are recommended to upgrade to version 4.18.0, which fixes the issue. For the 4.10.x LTS releases, users are recommended to upgrade to 4.10.9, while for 4.14.x LTS releases, users are recommended to upgrade to 4.14.5
A flaw was found in the Apache Camel LevelDB component. This vulnerability, categorized as Deserialization of Untrusted Data, allows an attacker with write access to the LevelDB database files to inject a specially crafted serialized Java object. When this object is deserialized by the Camel application during normal operations, it can lead to arbitrary code execution within the application's context. This poses a significant risk of system compromise.
Отчет
This vulnerability is rated as IMPORTANT. The Apache Camel LevelDB component is vulnerable to arbitrary code execution through deserialization of untrusted data. An attacker with write access to the LevelDB database files can inject malicious serialized Java objects, leading to code execution within the application's context. This happens because if the Camel-LevelDB class responsible to read the LevelDB aggregation repository makes use from the java.io.ObjectInputStream function without applying any kind of validation or class-load restriction.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat build of Apache Camel for Spring Boot 4 | camel-leveldb | Will not fix | ||
| Red Hat Fuse 7 | camel-leveldb | Will not fix | ||
| Red Hat JBoss Enterprise Application Platform 8 | camel-leveldb | Not affected | ||
| Red Hat JBoss Enterprise Application Platform Expansion Pack | camel-leveldb | Not affected |
Показывать по
Дополнительная информация
Статус:
EPSS
7.8 High
CVSS3
Связанные уязвимости
Deserialization of Untrusted Data vulnerability in Apache Camel LevelDB component. The Camel-LevelDB DefaultLevelDBSerializer class deserializes data read from the LevelDB aggregation repository using java.io.ObjectInputStream without applying any ObjectInputFilter or class-loading restrictions. An attacker who can write to the LevelDB database files used by a Camel application can inject a crafted serialized Java object that, when deserialized during normal aggregation repository operations, results in arbitrary code execution in the context of the application. This issue affects Apache Camel: from 4.10.0 before 4.10.8, from 4.14.0 before 4.14.5, from 4.15.0 before 4.18.0. Users are recommended to upgrade to version 4.18.0, which fixes the issue. For the 4.10.x LTS releases, users are recommended to upgrade to 4.10.9, while for 4.14.x LTS releases, users are recommended to upgrade to 4.14.5
Apache Camel Deserializes Untrusted Data in its LevelDB Component
EPSS
7.8 High
CVSS3