Apache Derby exposes user and password attributes
Apache Derby before 10.1.2.1 exposes the (1) user and (2) password attributes in cleartext via (a) the RDBNAM parameter of the ACCSEC command and (b) the output of the DatabaseMetaData.getURL function, which allows context-dependent attackers to obtain sensitive information.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.derby:derby | < 10.1.2.1 | 10.1.2.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2005-4849
- https://github.com/apache/derby/commit/09a7325f75a4f96a7735e46c9723930f88ea2613
- https://github.com/apache/derby/commit/82d721fd53e30dbb86d6d742c085030985091968
- https://github.com/apache/derby/commit/fd24a7590ff5426bac68303fbeca07dbc5067412
- https://github.com/apache/derby
- http://db.apache.org/derby/releases/release-10.1.2.1.html
- http://issues.apache.org/jira/browse/DERBY-530
- http://issues.apache.org/jira/browse/DERBY-559
- http://svn.apache.org/viewvc?view=revision&revision=289672
- Weakness (CWE)
CWE-200- Platform
- Java / Kotlin (Maven)
- Package
org.apache.derby:derby- Disclosed
- 01.05.2022
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rp7r-79rm-2758 - CC BY 4.0
Vulnerability history: org.apache.derby:derby
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 7
- First → latest
- 05.2022 11.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 1
- Medium 4
Disclosures per year
- 2022: 6
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
Apache Derby exposes user and password attributes this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.