Advisory

UBUNTU-CVE-2025-35036

Also known as: CVE-2025-35036

Summary

The record has no summary.

Details

Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is used, may interpolate user-supplied input in a constraint violation message with Expression Language. This could allow an attacker to access sensitive information or execute arbitrary Java code. Hibernate Validator as of 6.2.0 and 7.0.0 no longer interpolates custom constraint violation messages with Expression Language and strongly recommends not allowing user-supplied input in constraint violation messages. CVE-2020-5245 and CVE-2025-4428 are examples of related, downstream vulnerabilities involving Expression Language intepolation of user-supplied data.

Severity

High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2025-06-03 20:15 UTC
Modified
2026-10-17 12:57 UTC

Affected packages and fixes

14 affected packages; affected: introduced 0
PackageSystemFix
libhibernate-validator-javaDebian packages (deb) · Ubuntu 16.04No fixed version is listed.
libhibernate-validator-javaDebian packages (deb) · Ubuntu 18.04No fixed version is listed.
libhibernate-validator-javaDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
libhibernate-validator4-javaDebian packages (deb) · Ubuntu 20.04No fixed version is listed.
libhibernate-validator-javaDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
libhibernate-validator4-javaDebian packages (deb) · Ubuntu 22.04No fixed version is listed.
libhibernate-validator-javaDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
libhibernate-validator4-javaDebian packages (deb) · Ubuntu 24.04No fixed version is listed.
libhibernate-validator-javaDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
libhibernate-validator4-javaDebian packages (deb) · Ubuntu 25.10No fixed version is listed.
libhibernate-validator-javaDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
libhibernate-validator4-javaDebian packages (deb) · Ubuntu 26.10No fixed version is listed.
libhibernate-validator-javaDebian packages (deb) · Ubuntu 26.04No fixed version is listed.
libhibernate-validator4-javaDebian packages (deb) · Ubuntu 26.04No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences