CVE-2021-28398

Source
https://cve.org/CVERecord?id=CVE-2021-28398
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28398.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-28398
Related
  • GHSA-cf8p-c88c-h9jf
Published
2022-09-05T17:15:19.083Z
Modified
2026-04-10T04:31:49.786485Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/geonetwork/core-geonetwork

Affected ranges

Type
GIT
Repo
https://github.com/geonetwork/core-geonetwork
Events
Database specific
{
    "versions": [
        {
            "introduced": "3.4.0"
        },
        {
            "fixed": "3.12.0"
        },
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.0.4"
        }
    ]
}

Affected versions

4.*
4.0.0
4.0.1
4.0.2
4.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-28398.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "4.0.0-alpha1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "4.0.0-alpha2"
            }
        ]
    }
]