hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
2.02k stars 1.32k forks source link

CVE-2022-46337 (Critical) detected in derby-10.15.2.0.jar - autoclosed #5471

Closed mend-bolt-for-github[bot] closed 3 months ago

mend-bolt-for-github[bot] commented 11 months ago

CVE-2022-46337 - Critical Severity Vulnerability

Vulnerable Library - derby-10.15.2.0.jar

Contains the core Apache Derby database engine, which also includes the embedded JDBC driver.

Library home page: http://db.apache.org/derby/

Dependency Hierarchy: - :x: **derby-10.15.2.0.jar** (Vulnerable Library)

Found in HEAD commit: b59f2d05a7d0fd10c7b03bb6f0ebf97757172a71

Found in base branch: master

Vulnerability Details

A cleverly devised username might bypass LDAP authentication checks. In LDAP-authenticated Derby installations, this could let an attacker fill up the disk by creating junk Derby databases. In LDAP-authenticated Derby installations, this could also allow the attacker to execute malware which was visible to and executable by the account which booted the Derby server. In LDAP-protected databases which weren't also protected by SQL GRANT/REVOKE authorization, this vulnerability could also let an attacker view and corrupt sensitive data and run sensitive database functions and procedures. Mitigation: Users should upgrade to Java 21 and Derby 10.17.1.0. Alternatively, users who wish to remain on older Java versions should build their own Derby distribution from one of the release families to which the fix was backported: 10.16, 10.15, and 10.14. Those are the releases which correspond, respectively, with Java LTS versions 17, 11, and 8.

Publish Date: 2023-11-20

URL: CVE-2022-46337

CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://issues.apache.org/jira/browse/DERBY-7147

Release Date: 2023-11-20

Fix Resolution: 10.17.1.0


Step up your Open Source Security Game with Mend here

svaens commented 11 months ago

I don't see 10.14.3.0 on maven...

igreenfield commented 10 months ago

What the status of this?

in-fke commented 10 months ago

It's not released, apparently you are supposed to build it yourself!???

https://issues.apache.org/jira/browse/DERBY-7147?focusedCommentId=17797959&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17797959

in-fke commented 10 months ago

https://issues.apache.org/jira/browse/DERBY-7147?focusedCommentId=17799544&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17799544

The patch was backported to the 10.16, 10.15, and 10.14 branches, which correspond, respectively with LTS Java versions 17, 11, and 8. For those branches and Java versions, no one has volunteered to manage an official release which includes this fix.

mend-bolt-for-github[bot] commented 9 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 3 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

mend-bolt-for-github[bot] commented 3 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.