# Privilege Escalation in Hibernate Validator

Advisory record · `GHSA-xxgp-pcfc-3vgc`

- **Identifiers:** `GHSA-xxgp-pcfc-3vgc` · `CVE-2017-7536`
- **State:** Confirmed
- **Severity:** CVSS 7.0 High
- **Critical:** No
- **Weakness (CWE):** [CWE-470](https://cwe.mitre.org/data/definitions/470.html) · [CWE-592](https://cwe.mitre.org/data/definitions/592.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md) · [CWE-592](https://agentprime.io/advisories/tag/cwe-592.md)
- **Published:** 15 Jun 2020
- **Updated:** 8 Mar 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 15 Jun 2020, 19:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.hibernate:hibernate-validator` (Maven): affected `>=5.2.0, <5.2.5.Final || >=5.3.0, <5.3.6.Final || >=5.4.0, <5.4.2.Final`; fixed in `5.2.5.Final`, `5.3.6.Final`, `5.4.2.Final`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.0 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.0048, the 41st percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 15 Jun 2020. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-xxgp-pcfc-3vgc](https://github.com/advisories/GHSA-xxgp-pcfc-3vgc)
- [OSV: GHSA-xxgp-pcfc-3vgc](https://osv.dev/vulnerability/GHSA-xxgp-pcfc-3vgc)
- <https://nvd.nist.gov/vuln/detail/CVE-2017-7536>
- <https://github.com/hibernate/hibernate-validator/commit/0886e89900d343ea20fde5137c9a3086e6da9ac>
- <https://github.com/hibernate/hibernate-validator/commit/0778a5c98b817771a645c6f4ba0b28dd8b5437b>
- <https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E>
- <https://github.com/hibernate/hibernate-validator>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1465573>
- <https://access.redhat.com/errata/RHSA-2018:3817>
- <https://access.redhat.com/errata/RHSA-2018:2927>
- <https://access.redhat.com/errata/RHSA-2018:2743>
- <https://access.redhat.com/errata/RHSA-2018:2742>
- <https://access.redhat.com/errata/RHSA-2018:2741>
- <https://access.redhat.com/errata/RHSA-2018:2740>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-xxgp-pcfc-3vgc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-xxgp-pcfc-3vgc/>. Everything for agents: <https://agentprime.io/llms.txt>.
