Advisory

GHSA-cwwh-4382-6fwr

Also known as: CVE-2017-16228, PYSEC-2017-12

Summary

Dulwich RCE Vulnerability

Details

Dulwich before 0.18.5, when an SSH subprocess is used, allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-12976, CVE-2017-1000116, and CVE-2017-1000117.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-13 01:44 UTC
Modified
2024-11-30 05:33 UTC

Affected packages and fixes

dulwich

PyPI · All systems

Affected

  • introduced 0, fixed 0.18.5 (ecosystem)

Fixed versions

0.18.5

Fix

  • Fixed version 0.18.5
    pip install --upgrade dulwich==0.18.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences