GitHub Advisoryadvisory · PyPI

GHSA-3v62-ww8w-758m Mercurial Improper Input Validation vulnerability

HIGH Published 2022-05-13 Modified 2024-09-25 Official page ↗
Aliases
CVE-2018-13348
Ecosystem
PyPI
Packages
mercurial
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-20
Reviewed
2024-05-01

Affected packages

• PyPI mercurial: < 4.6.1 → fixed in 4.6.1

Description

The `mpatch_decode` function in `mpatch.c` in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not, aka OVE-20180430-0001.

Related

Alias · CVE (1)

  • CVE-2018-13348 The mpatch_decode function in mpatch.c in Mercurial before 4.6.1 mishandles certain situations where there should be at least 12 bytes… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References