Every CVE Search/ Get API key

CVE-2022-40308

Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files

7.5 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.32%Up 0.4 points since Nov 16, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

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

Record
CVE-2022-40308
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
CVE List 7.5

Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files

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

Record
CVE-2022-40308
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
EUVDEUVD-2022-7225 7.5

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

Record
EUVD-2022-7225
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-463w-hxfv-g9f6 7.5

Apache Archiva vulnerable to Sensitive Information Disclosure via anonymous user

Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files. If anonymous read enabled, it's possible to read the database file directly without logging in.

Record
GHSA-463w-hxfv-g9f6
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-200, CWE-862
Updated
2026-11-02
OSV 7.5

Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files

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

Record
CVE-2022-40308
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-463w-hxfv-g9f6 7.5

Apache Archiva vulnerable to Sensitive Information Disclosure via anonymous user

Apache Archiva prior to 2.2.9 may allow the anonymous user to read arbitrary files. If anonymous read enabled, it's possible to read the database file directly without logging in.

Record
GHSA-463w-hxfv-g9f6
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-200, CWE-862
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.apache.archiva:archiva-common
Maven
before 2.2.9
2.2.9
org.apache.archiva:archiva-common
Maven
before 2.2.9, plus listed versions
1.11.1.11.1.21.1.31.1.4
Show 29 moreShow less
1.21.2-M11.2.11.2.21.31.3.11.3.21.3.31.3.41.3.51.3.61.3.81.3.91.4-M11.4-M21.4-M31.4-M42.0.02.0.12.1.02.1.12.2.02.2.12.2.32.2.42.2.52.2.62.2.72.2.8
2.2.9

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-40308 is a high vulnerability (CVSS 7.5) in Apache Archiva, published November 15, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.32%, the 70th percentile. Fixed in org.apache.archiva:archiva-common 2.2.9.

References

MoveEnter Open