Skip to content

Commit 3543b20

Browse files
chore(security): upgrade gnutls + netty for CVE batch (UID2-7030, UID2-7031..7035)
* Dockerfile: install gnutls 3.8.13-r0 to fix CVE-2026-3833 (also clears the previously suppressed CVE-2026-1584, CVE-2026-33845, CVE-2026-33846). * pom.xml: bump netty 4.1.132.Final → 4.1.133.Final to fix CVE-2026-42583 / 42579 / 42584 / 42587. * .trivyignore: remove the three obsolete gnutls suppressions and add CVE-2026-42577 (server-side epoll DoS, no 4.1.x patch backported by upstream — service is behind authenticated LB; CVSS impact is Availability only). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d706880 commit 3543b20

3 files changed

Lines changed: 11 additions & 12 deletions

File tree

.trivyignore

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22
# See https://aquasecurity.github.io/trivy/v0.35/docs/vulnerability/examples/filter/
33
# for more details
44

5-
# gnutls DoS vulnerability via crafted ClientHello - not impactful as gnutls is not used by our Java service
6-
# See: UID2-6655
7-
CVE-2026-1584 exp:2026-08-27
8-
# gnutls DoS vulnerability via DTLS zero-length record - not impactful as gnutls is not used by our Java service
9-
# See: UID2-7008
10-
CVE-2026-33845 exp:2026-11-04
11-
# gnutls DoS vulnerability via heap buffer overflow in DTLS handshake - not impactful as gnutls is not used by our Java service
12-
# See: UID2-7012
13-
CVE-2026-33846 exp:2026-11-05
14-
155
# jackson-core async parser DoS - not exploitable, services only use synchronous ObjectMapper API
166
# See: UID2-6670
177
GHSA-72hv-8253-57qq exp:2026-09-01
8+
9+
# CVE-2026-42577 — netty-transport-native-epoll DoS via RST on half-closed TCP connection.
10+
# Advisory: https://github.com/netty/netty/security/advisories/GHSA-rwm7-x88c-3g2p
11+
# Server-side bug; netty maintainers backported the fix only to 4.2.13.Final and we run on
12+
# vert.x 4 / netty 4.1.x. This service sits behind authenticated load balancers (mTLS / API
13+
# gateway) so anonymous external attackers cannot reach the netty epoll socket directly;
14+
# LB-level connection limits and idle timeouts further cap the blast radius. CVSS impact is
15+
# Availability only (C:N/I:N/A:H). Tracking via UID2-7035; revisit on vert.x 5 migration.
16+
CVE-2026-42577 exp:2026-06-08

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY ./target/${JAR_NAME}-${JAR_VERSION}-sources.jar /app
1616
COPY ./conf/default-config.json /app/conf/
1717
COPY ./conf/*.xml /app/conf/
1818

19-
RUN apk add --no-cache --upgrade libpng libcrypto3 libssl3 musl musl-utils && adduser -D uid2-core && mkdir -p /app && chmod 705 -R /app && mkdir -p /app/file-uploads && chmod 777 -R /app/file-uploads && mkdir -p /app/pod_terminating && chmod 777 -R /app/pod_terminating
19+
RUN apk add --no-cache --upgrade libpng libcrypto3 libssl3 musl musl-utils gnutls && adduser -D uid2-core && mkdir -p /app && chmod 705 -R /app && mkdir -p /app/file-uploads && chmod 777 -R /app/file-uploads && mkdir -p /app/pod_terminating && chmod 777 -R /app/pod_terminating
2020
USER uid2-core
2121

2222
CMD java \

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<launcher.class>io.vertx.core.Launcher</launcher.class>
2626

2727
<uid2-shared.version>11.4.16</uid2-shared.version>
28-
<netty.version>4.1.132.Final</netty.version>
28+
<netty.version>4.1.133.Final</netty.version>
2929
<image.version>${project.version}</image.version>
3030
</properties>
3131

0 commit comments

Comments
 (0)