CVE-2022-40308
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.
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
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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
org.apache.archiva:archiva-commonMaven |
before 2.2.9 | 2.2.9 |
org.apache.archiva:archiva-commonMaven |
before 2.2.9, plus listed versions 1.11.1.11.1.21.1.31.1.4 Show 29 moreShow less1.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
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE 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
lists.apache.org/thread/x01pnn0jjsw512cscxsbxzrjmz64n4cc
openwall.com/lists/oss-security/2022/11/15/2
nvd.nist.gov/vuln/detail/CVE-2022-40308
archiva.apache.org/security.html
github.com/advisories/GHSA-463w-hxfv-g9f6
github.com/CVEProject/cvelistV5/tree/main/cves/2022/40xxx/CVE-2022-40308.json
github.com/apache/archiva