High severity7.2NVD Advisory· Published Sep 5, 2022· Updated Jun 17, 2026
CVE-2021-28398
CVE-2021-28398
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2(expand)+ 1 more
- (no CPE)
- (no CPE)range: 3.4.0 <= versions < 3.12.0, 4.x < 4.0.4
Patches
Vulnerability mechanics
References
3- geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.htmlnvdPatchRelease NotesVendor Advisory
- github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jfnvdMitigationPatchThird Party Advisory
- geonetwork-opensource.orgnvdProduct
News mentions
0No linked articles in our index yet.