CVE-2021-28398Osgeo Geonetwork
High 7.2
Follow: this CVE · Osgeo · Osgeo Geonetwork We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.2
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- Yes
- Published
- Sep 5, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Geonetwork.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| osgeo | geonetwork | ≥ 3.4.0 < 3.12.0 |
| osgeo | geonetwork | ≥ 4.0.0 < 4.0.4 |
| osgeo | geonetwork | 4.0.0 |
| osgeo | geonetwork | 4.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- geonetwork-opensource.org Product
- geonetwork-opensource.org Patch Release Notes Vendor Advisory
- github.com Third Party Advisory
- github.com Mitigation Patch Third Party Advisory