You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@opennlp.apache.org by "rzo1 (via GitHub)" <gi...@apache.org> on 2026/05/12 10:18:32 UTC

[PR] Addresses known security vulnerabilities in commons-lang and jdom (opennlp-sandbox)

rzo1 opened a new pull request, #470:
URL: https://github.com/apache/opennlp-sandbox/pull/470

   ## Summary
   - Bumps `org.jdom:jdom:2.0.2` to `org.jdom:jdom2:2.0.6.1` in `mallet-addon` (CVE-2021-33813, XXE)
   - Drops legacy `commons-lang` 2.6 from root `dependencyManagement` and migrates `opennlp-similarity` sources to `commons-lang3` (CVE-2025-48924)
   - Replaces removed `StringEscapeUtils.unescapeHtml` with `commons-text` `StringEscapeUtils.unescapeHtml4` (single call site in `Utils.java`)
   - Adds `commons-text` 1.14.0 to `dependencyManagement`; wires `commons-lang3` + `commons-text` as direct deps in `opennlp-similarity`
   
   The `jdom` artifact has no Java imports in this repo (runtime-only dep of mallet), so the artifactId change is safe. All `StringUtils` / `ArrayUtils` method usages are API-compatible between commons-lang 2.x and lang3.
   
   ## Test plan
   - [x] `mvn clean compile -pl opennlp-similarity,mallet-addon -am -DskipTests` passes
   - [ ] Full `mvn clean install` on CI


-- 
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: dev-unsubscribe@opennlp.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Addresses known security vulnerabilities in commons-lang and jdom (opennlp-sandbox)

Posted by "mawiesne (via GitHub)" <gi...@apache.org>.
mawiesne merged PR #470:
URL: https://github.com/apache/opennlp-sandbox/pull/470


-- 
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: dev-unsubscribe@opennlp.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org