CVE-2021-28398: osgeo geonetwork OS Command Injection
Vulnerability summary
CVE-2021-28398 is a high (CVSS 7.2) OS Command Injection vulnerability in osgeo geonetwork. EPSS estimates a 1.43% chance of exploitation in the next 30 days, higher than 72.5% of scored vulnerabilities.
Timeline
- 05-09-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A privileged attacker in GeoNetwork before 3.12.0 and 4.x before 4.0.4 can use the directory harvester before-script to execute arbitrary OS commands remotely on the hosting infrastructure. A User Administrator or Administrator account is required to perform this. This occurs in the runBeforeScript method in harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvester/localfilesystem/LocalFilesystemHarvester.java. The earliest affected version is 3.4.0.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
1.43%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
+0.03 pp
From 1.39% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Osgeo1 product
- geonetwork≥ 3.4.0, < 3.12.0 | ≥ 4.0.0, < 4.0.4 | 4.0.0:alpha1 | 4.0.0:alpha2
1 vendor · 1 product
References
4 links- geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.htmlX Refsource MISCPatchRelease NotesVendor Advisory
- github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jfX Refsource CONFIRMMitigationPatchThird Party Advisory