Patchfirst
CVE-2021-43857 Public exploit Critical · 9.8 EPSS 55.6%

Gerapy may contain remote code execution vulnerability

Gerapy · Gerapy

Summary

Gerapy, a distributed crawler management framework, contains an OS command injection flaw in versions prior to 0.9.8, which is fixed in 0.9.8. An unauthenticated remote attacker with network access can execute arbitrary code on the affected system, with no user interaction or special configuration required.

Official description · CVE.org

Gerapy is a distributed crawler management framework. Gerapy prior to version 0.9.8 is vulnerable to remote code execution, and this issue is patched in version 0.9.8.

Breakdown
31.7 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (PoC-in-GitHub) appeared 7 days after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+7 days

See the family tree

3 related vulnerabilities in the same code over 18 months. The latest fix listed for gerapy is 0.9.9.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2020-7698Command Injection29 Jul 2020
  2. relatedHigh

    Why these are linked:

    • Fixed one release later0.9.3 → 0.9.8 (gerapy)
    • Same code patched: views.py (machine-matched)Functions: job_list, job_log, project_configure, task_removecommit e844660commit 49bcb19
    • Similar weakness in the same product (machine-matched)same package + description similarity
    This CVECVE-2021-43857Gerapy may contain remote code execution27 Dec 2021
  3. Next fix in the same packageMedium

    Why these are linked:

    • Fixed one release later0.9.8 → 0.9.9 (gerapy)
    • Similar weakness in the same product (machine-matched)same product + CWE + description similarity
    CVE-2021-32849Arbitrary command execution in Gerapy26 Jan 2022

Fixes in gerapyPyPI package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 0.9.3CVE-2020-769829 Jul 2020
  2. 0.9.8CVE-2021-4385727 Dec 2021
  3. 0.9.9CVE-2021-3284926 Jan 2022Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: gerapy.

Upgrade to 0.9.9 or later

Fixes this CVE and 1 other known vulnerability in this package (CVE-2021-32849).

pippip install "gerapy>=0.9.9"

First fixed in 0.9.8 for CVE-2021-43857.

Affected versions

If you runUpgrade to
All versions before 0.9.80.9.9first fix for this CVE: 0.9.8

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close