davsclaus opened a new pull request, #143:
URL: https://github.com/apache/camel-jbang-examples/pull/143

   _Claude Code on behalf of Claus Ibsen_
   
   A new example, `security/cve-audit`: the shop's order feed with libraries 
that have known CVEs **on purpose**, to try the CVE Audit screen of the Camel 
TUI and ask the AI (Shift+F8) whether the integration is affected.
   
   - `application.properties` declares commons-text 1.9 (CVE-2022-42889, 
Text4Shell) and snakeyaml 1.33 (CVE-2022-1471); commons-text 1.9 brings in 
commons-lang3 3.11 (CVE-2025-48924), which shows a dependency chain on the 
screen.
   - `OrderNote.java` writes the note of each order with commons-text, using 
the map-based `StringSubstitutor`, not the interpolator the CVE is about: the 
library is vulnerable but the integration is not exposed, which is what the AI 
should find. snakeyaml is not used at all (the fix is to remove it), and Camel 
brings snakeyaml 2.x too, so both versions are on the classpath.
   - The README checks against OSV.dev: commons-text 1.10.0 fixes Text4Shell 
but still brings an affected commons-lang3 (3.12.0); commons-text 1.14.0 is the 
first to bring 3.18.0.
   - No HTTP endpoint or other outside input: the orders come from a timer.
   - `"exclude": true` like the other `security/` examples; the Citrus test is 
wired into CI, and passes locally.
   
   **Merge after the Camel side of CAMEL-27328** (the FIX, VIA and USED 
columns, grouping by artifact and the Camel advisories on the CVE Audit 
screen), which is not opened yet.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to