MediumGHSA-jxgm-9f58-w4xpCVE-2019-0214

Improper Input Validation in Apache Archiva

Published 14 May 2019 · Updated 8 Nov 2023

Is your project on an affected org.apache.archiva:archiva?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
>=2.2.0 <2.2.4
Fixed in
2.2.4
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.archiva:archiva -DdepVersion=2.2.4 -DforceVersion=true

Details

In Apache Archiva 2.0.0 - 2.2.3, it is possible to write files to the archiva server at arbitrary locations by using the artifact upload mechanism. Existing files can be overwritten, if the archiva run user has appropriate permission on the filesystem for the target file.

Is GHSA-jxgm-9f58-w4xp 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.archiva:archiva, and gives you the command that fixes it.

More advisories for org.apache.archiva:archiva

  • HighCVE-2024-27139Apache Archiva Incorrect Authorization vulnerability · 1 Mar 2024
  • HighCVE-2024-27138Apache Archiva Incorrect Authorization vulnerability · 1 Mar 2024
  • MediumCVE-2023-28158Apache Archiva vulnerable to privilege escalation via stored cross-site scripting (XSS) · 29 Mar 2023
  • MediumCVE-2022-29405Missing Authorization in Apache Archiva · 26 May 2022
  • MediumCVE-2011-0533Apache Continuum and Archiva vulnerable to Cross-site Scripting · 14 May 2022
  • MediumCVE-2010-4408Apache Archiva does not require entry of the administrator's password at the time of modifying a user account · 14 May 2022
All 11 advisories for org.apache.archiva:archiva

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.