MediumGHSA-rp7r-79rm-2758CVE-2005-4849
Apache Derby exposes user and password attributes
Published 1 May 2022 · Updated 30 Nov 2024
Is your project on an affected org.apache.derby:derby?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <10.1.2.1
- Fixed in
- 10.1.2.1
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.derby:derby -DdepVersion=10.1.2.1 -DforceVersion=trueDetails
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.
Is GHSA-rp7r-79rm-2758 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.derby:derby, and gives you the command that fixes it.
More advisories for org.apache.derby:derby
- CriticalCVE-2022-46337Apache Derby: LDAP injection vulnerability in authenticator · 20 Nov 2023
- HighCVE-2010-2232Improper Access Control in Apache Derby · 17 May 2022
- CriticalCVE-2015-1832Improper Restriction of XML External Entity Reference in Apace Derby · 13 May 2022
- MediumCVE-2018-1313Improper Access Control in Apache Derby · 13 May 2022
- MediumCVE-2009-4269Use of Password Hash With Insufficient Computational Effort in Apache Derby · 2 May 2022
- MediumCVE-2006-7217Apache Derby SQL Injection · 1 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2005-4849
- Linkgithub.com/apache/derby/commit/09a7325f75a4f96a7735e46c9723930f88ea2613
- Linkgithub.com/apache/derby/commit/82d721fd53e30dbb86d6d742c085030985091968
- Linkgithub.com/apache/derby/commit/fd24a7590ff5426bac68303fbeca07dbc5067412
- Packagegithub.com/apache/derby
- Linkdb.apache.org/derby/releases/release-10.1.2.1.html
- Linkissues.apache.org/jira/browse/DERBY-530
- Linkissues.apache.org/jira/browse/DERBY-559
- Linksvn.apache.org/viewvc?view=revision&revision=289672
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.