mercurial@4.5.1 vulnerabilities

Fast scalable distributed SCM (revision control, version control) system

  • latest version

    7.0.2

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    16 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the mercurial package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Out-of-Bounds Write

    mercurial is a distributed SCM tool written in Python.

    Affected versions of this package are vulnerable to Out-of-Bounds Write. The mpatch_apply function in mpatch.c in Mercurial before 4.6.1 incorrectly proceeds in cases where the fragment start is past the end of the original data.

    How to fix Out-of-Bounds Write?

    Upgrade mercurial to version 4.6.1 or higher.

    [,4.6.1)
    • C
    Integer Overflow or Wraparound

    mercurial is a distributed SCM tool written in Python.

    Affected versions of this package are vulnerable to Integer Overflow or Wraparound. mpatch.c in Mercurial mishandles integer addition and subtraction.

    How to fix Integer Overflow or Wraparound?

    Upgrade mercurial to version 4.6.1 or higher.

    [,4.6.1)
    • H
    Integer Overflow or Wraparound

    mercurial is a distributed SCM tool written in Python.

    Affected versions of this package are vulnerable to Integer Overflow or Wraparound. The mpatch_decode function in mpatch.c in Mercurial mishandles certain situations where there should be at least 12 bytes remaining after the current position in the patch data, but actually are not.

    How to fix Integer Overflow or Wraparound?

    Upgrade mercurial to version 4.6.1 or higher.

    [,4.6.1)
    • C
    Out-of-bounds Read

    mercurial is a distributed SCM tool written in Python.

    Affected versions of this package are vulnerable to Out-of-bounds Read. cext/manifest.c in Mercurial before 4.7.2 has an out-of-bounds read during parsing of a malformed manifest entry.

    How to fix Out-of-bounds Read?

    Upgrade mercurial to version 4.7.2 or higher.

    [,4.7.2)
    • H
    Arbitrary File Overwrite

    mercurial is a distributed SCM tool written in Python.

    Affected versions of this package are vulnerable to Arbitrary File Overwrite. It is possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside of a repository.

    How to fix Arbitrary File Overwrite?

    Upgrade mercurial to version 4.9 or higher.

    [,4.9)
    • C
    HTTP Permission Bypass

    Mercurial is a distributed SCM tool.

    Affected versions of this package are vulnerable to HTTP Permission Bypass, which may allow an attacker to perform writes on repositories that should be read-only, or reads on repositories that shouldn't allow read access.

    How to fix HTTP Permission Bypass?

    Upgrade mercurial to version 4.5.2 or higher.

    [,4.5.2)