VDB
Sign up
MEDIUM

GHSA-x9fv-c87w-55wc

Improper Control of Generation of Code in Apache Camel

Quick fix

GHSA-x9fv-c87w-55wc — org.apache.camel:camel-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.9.7</version> for org.apache.camel:camel-core

Details

Apache Camel before 2.9.7, 2.10.0 before 2.10.7, 2.11.0 before 2.11.2, and 2.12.0 allows remote attackers to execute arbitrary simple language expressions by including "$simple{}" in a CamelFileName message header to a (1) FILE or (2) FTP producer.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.camel:camel-core
Introduced in: 0Fixed in: 2.9.7
Fix# pom.xml: bump <version>2.9.7</version> for org.apache.camel:camel-core
Maven/org.apache.camel:camel-core
Introduced in: 2.10.0Fixed in: 2.10.7
Fix# pom.xml: bump <version>2.10.7</version> for org.apache.camel:camel-core
Maven/org.apache.camel:camel-core
Introduced in: 2.11.0Fixed in: 2.11.2
Fix# pom.xml: bump <version>2.11.2</version> for org.apache.camel:camel-core
Maven/org.apache.camel:camel-core
Introduced in: 2.12.0Fixed in: 2.12.1
Fix# pom.xml: bump <version>2.12.1</version> for org.apache.camel:camel-core

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.apache.camel/camel-core"]}'