# CVE-2021-25958: Generation of Error Message Containing Sensitive Information in Apache OFBiz

- Severity: Medium 6.5 (CVSS:3.1, scored by Mend) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.64%, higher than 86% of CVEs (2026-11-30)
- Published: 2021-08-30T14:07:00.257Z
- Modified: 2026-06-17T03:42:40.600Z
- Weaknesses: CWE-209
- Assigned by: Mend

## Description

In Apache Ofbiz, versions v17.12.01 to v17.12.07 implement a try catch exception to handle errors at multiple locations but leaks out sensitive table info which may aid the attacker for further recon. A user can register with a very long password, but when he tries to login with it an exception occurs.

(As written by CVE List.)

## Affected

- apache ofbiz-framework: from v17.12.01 before unspecified; from unspecified up to v17.12.07
- apache ofbiz: from 17.12.01 before 17.12.08

## Every score

- Mend: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/apache/ofbiz-framework/commit/2f5b8d33e32c4d9a48243cf9e503236acd5aec5c> (patch, third-party-advisory)
- <https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25958> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-25958](https://www.cve.org/CVERecord?id=CVE-2021-25958), CVE Terms of Use, modified 2024-09-16
- NVD: [CVE-2021-25958](https://nvd.nist.gov/vuln/detail/CVE-2021-25958), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25958 · Whole record: https://cve.day/CVE-2021-25958.json · Rebuilt by cve.day 2026-11-25T22:58:03.541Z
