Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ CVE-2022-37767
# See: UID2-5493
CVE-2025-1686

# gnutls DoS vulnerability via crafted ClientHello - not impactful as gnutls is not used by our Java service
# See: UID2-6655
CVE-2026-1584 exp:2026-08-27
# gnutls DoS vulnerability via DTLS zero-length record - not impactful as gnutls is not used by our Java service
# See: UID2-7008
CVE-2026-33845 exp:2026-11-04
# gnutls DoS vulnerability via heap buffer overflow in DTLS handshake - not impactful as gnutls is not used by our Java service
# See: UID2-7012
CVE-2026-33846 exp:2026-11-05

# jackson-core async parser DoS - not exploitable, services only use synchronous ObjectMapper API
# See: UID2-6670
GHSA-72hv-8253-57qq exp:2026-09-01

# CVE-2026-42577 — netty-transport-native-epoll DoS via RST on half-closed TCP connection.
# Advisory: https://github.com/netty/netty/security/advisories/GHSA-rwm7-x88c-3g2p
# Server-side bug; netty maintainers backported the fix only to 4.2.13.Final and we run on
# vert.x 4 / netty 4.1.x. This service sits behind authenticated load balancers (mTLS / API
# gateway) so anonymous external attackers cannot reach the netty epoll socket directly;
# LB-level connection limits and idle timeouts further cap the blast radius. CVSS impact is
# Availability only (C:N/I:N/A:H). Tracking via UID2-7035; revisit on vert.x 5 migration.
CVE-2026-42577 exp:2026-06-08
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY ./conf/default-config.json /app/conf/
COPY ./conf/*.xml /app/conf/
COPY ./webroot/ /app/webroot/

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

CMD java \
Expand Down
19 changes: 18 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<junit-jupiter.version>5.11.2</junit-jupiter.version>
<uid2-shared.version>11.4.16</uid2-shared.version>
<okta-jwt.version>0.5.10</okta-jwt.version>
<netty.version>4.1.132.Final</netty.version>
<netty.version>4.1.133.Final</netty.version>
<image.version>${project.version}</image.version>
</properties>

Expand Down Expand Up @@ -46,6 +46,23 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Force bouncycastle to 1.84 to fix CVE-2026-5598 (private key leakage via non-constant-time comparisons). -->
<!-- Pulled in transitively via okta-jwt-verifier → sslcontext-kickstart-for-pem. -->
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk18on</artifactId>
<version>1.84</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk18on</artifactId>
<version>1.84</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcutil-jdk18on</artifactId>
<version>1.84</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
Loading