Skip to content

Commit 524fc2a

Browse files
committed
Pin patched version of commons-lang3 to address CVE-2025-48924 in build.gradle files
1 parent a4e50cb commit 524fc2a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

instrumentation-security-test/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ dependencies {
1515
implementation("com.newrelic.agent.java:newrelic-api:${nrAPIVersion}")
1616
implementation("com.newrelic.agent.java:newrelic-agent:${nrAgentVersion}")
1717
implementation ('org.apache.commons:commons-text:1.10.0')
18+
// commons-text pulls in a vulnerable commons-lang3 transitively (CVE-2026-54512); pin the patched version
19+
implementation ('org.apache.commons:commons-lang3:3.18.0')
1820
implementation("com.newrelic.agent.java:agent-bridge:${nrAPIVersion}")
1921
implementation("com.newrelic.agent.java:agent-bridge-datastore:${nrAPIVersion}")
2022
implementation("commons-net:commons-net:3.9.0")

newrelic-security-agent/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ dependencies {
6868
shadowIntoJar 'org.apache.commons:commons-text:1.10.0'
6969
shadowIntoJar 'commons-net:commons-net:3.9.0'
7070
shadowIntoJar 'org.apache.commons:commons-compress:1.26.0'
71+
// commons-text/commons-compress pull in a vulnerable commons-lang3 transitively (CVE-2026-54512); pin the patched version
72+
shadowIntoJar 'org.apache.commons:commons-lang3:3.18.0'
7173
shadowIntoJar 'org.apache.commons:commons-collections4:4.4'
7274
shadowIntoJar 'org.unbescape:unbescape:1.1.6.RELEASE'
7375
shadowIntoJar 'commons-codec:commons-codec:1.15'

0 commit comments

Comments
 (0)