CVE-2022-40308: Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files

Published Nov 15, 2022
·
Updated

If anonymous read enabled, it's possible to read the database file directly without logging in.

Affected Software

1 affected component
Apache Archiva<2.2.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade apache/archiva to a version that resolves this vulnerability.

    Fixed in 2.2.9
  2. Configuration

    Disable anonymous read so anonymous users cannot read arbitrary files or the database file without logging in.

    Apache Archiva anonymous read enabled = disabled

Event History

Nov 15, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·01:15 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-40308?

CVE-2022-40308 is categorized as a high severity vulnerability due to the potential exposure of sensitive data.

2

How do I fix CVE-2022-40308?

To fix CVE-2022-40308, disable anonymous read access in the Apache Archiva configuration.

3

What impact does CVE-2022-40308 have on data security?

CVE-2022-40308 allows unauthorized users to access the database file directly, risking data confidentiality.

4

Which versions of Apache Archiva are affected by CVE-2022-40308?

CVE-2022-40308 affects all versions of Apache Archiva prior to 2.2.9.

5

Is there any workaround for CVE-2022-40308 until a fix is applied?

Yes, temporarily restrict access to the database by adjusting user permissions or disabling anonymous access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203