CVE-2021-28398 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://geonetwork-opensource.org/ | CVE | Product |
| https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html | CVE | PatchRelease NotesVendor Advisory |
| https://github.com/geonetwork/core-geonetwork | CVE | Third Party Advisory |
| https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf | CVE | MitigationPatchThird Party Advisory |
| https://geonetwork-opensource.org/ | [email protected] | Product |
| https://geonetwork-opensource.org/manuals/trunk/en/overview/change-log/version-3.6.0.html | [email protected] | PatchRelease NotesVendor Advisory |
| https://github.com/geonetwork/core-geonetwork | [email protected] | Third Party Advisory |
| https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-cf8p-c88c-h9jf | [email protected] | MitigationPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| osgeo geonetwork | >= 3.4.0, < 3.12.0 >= 4.0.0, < 4.0.4 4.0.0 alpha1 4.0.0 alpha2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Oct 1, 2022 | Reanalysis | [email protected] |
| Sep 9, 2022 | Initial Analysis | [email protected] |