p PatchFirst

CVE-2021-3504

CVE-2021-3504

CVSS 5.4 · Medium · EPSS 1.8% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • hivexNo fix published
  • hivex Alpine 3.13Update to 1.3.19-r1
  • hivex Alpine 3.14Update to 1.3.19-r2
  • hivex Alpine 3.15Update to 1.3.19-r2
  • and 20 more

Check the installed version:

apk list -I -o hivex

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

A flaw was found in the hivex library in versions before 1.3.20. It is caused due to a lack of bounds check within the hivex_open function. An attacker could input a specially crafted Windows Registry (hive) file which would cause hivex to read memory beyond its normal bounds or cause the program to crash. The highest threat from this vulnerability is to system availability.

Published
Updated

Fixes in distributions

  • RHSA-2021:3061 · Red Hat Enterprise Linux 8 appstream, Red Hat Enterprise Linux 8 crb ·
  • RHSA-2021:2318 · Red Hat Enterprise Linux 7 client, Red Hat Enterprise Linux 7 server, Red Hat Enterprise Linux 7 workstation ·
  • openSUSE-SU-2024:10845-1 · openSUSE Tumbleweed ·
  • USN-5148-2 · Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS ·
  • USN-5148-1 · Ubuntu 18.04 LTS, Ubuntu 20.04 LTS ·
  • ALSA-2021:3061 · AlmaLinux 8 ·
  • RLSA-2021:3061 · Rocky Linux 8 ·
  • openSUSE-SU-2021:1761-1 · openSUSE Leap 15.3 ·
  • openSUSE-SU-2021:0806-1 · openSUSE Leap 15.2 ·
  • SUSE-SU-2021:1761-1 · SUSE Linux Enterprise Micro 5.0, SUSE Linux Enterprise Module for Basesystem 15 SP2, SUSE Linux Enterprise Module for Basesystem 15 SP3, SUSE Linux Enterprise Module for Development Tools 15 SP2, SUSE Linux Enterprise Module for Development Tools 15 SP3 ·
  • SUSE-SU-2021:1760-1 · SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE Linux Enterprise Software Development Kit 12 SP5 ·
  • DLA-2656-1 · Debian 9 ·
  • DSA-4913-1 · Debian 10 ·

Stack: system

Affected products and versions

  • hivex

    Versions
    • hivex-1.3.20: Affected

    No fix published

  • hivex Alpine 3.13

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r1

    Update to 1.3.19-r1

  • hivex Alpine 3.14

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.15

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.16

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 1.3.19-r2

    Update to 1.3.19-r2

  • hivex Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.3.20-1

    Update to 1.3.20-1

  • hivex Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.3.20-1

    Update to 1.3.20-1

  • hivex Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.3.20-1

    Update to 1.3.20-1

  • hivex Ubuntu Pro 14.04 LTS

    Versions
    • 1.3.7-5
    • 1.3.8-1
    • 1.3.8-1build1
    • 1.3.9-1
    • 1.3.9-2
    • 1.3.9-2build1
    Affected ranges
    • ECOSYSTEM: < 1.3.9-2ubuntu0.1~esm1

    Update to 1.3.9-2ubuntu0.1~esm1

  • hivex Ubuntu Pro 16.04 LTS

    Versions
    • 1.3.11-1build1
    • 1.3.12-1
    • 1.3.13-1
    • 1.3.13-1build1
    • 1.3.13-1build2
    • 1.3.13-1build3
    Affected ranges
    • ECOSYSTEM: < 1.3.13-1ubuntu0.1~esm1

    Update to 1.3.13-1ubuntu0.1~esm1

  • hivex Ubuntu 18.04 LTS

    Versions
    • 1.3.14-1build4
    • 1.3.14-3build1
    • 1.3.14-4
    • 1.3.14-4build1
    • 1.3.15-1
    Affected ranges
    • ECOSYSTEM: < 1.3.15-1ubuntu0.1

    Update to 1.3.15-1ubuntu0.1

  • hivex Ubuntu 20.04 LTS

    Versions
    • 1.3.18-1
    • 1.3.18-1build1
    • 1.3.18-2
    • 1.3.18-2build1
    • 1.3.18-2build2
    Affected ranges
    • ECOSYSTEM: < 1.3.18-2ubuntu0.1

    Update to 1.3.18-2ubuntu0.1

  • hivex Ubuntu 22.04 LTS

    Versions
    • 1.3.19-1ubuntu3
    • 1.3.21-1ubuntu1
    • 1.3.21-1ubuntu4
    • 1.3.21-1ubuntu5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hivex Ubuntu 24.04 LTS

    Versions
    • 1.3.23-1build2
    • 1.3.23-1build3
    • 1.3.23-1build4
    • 1.3.23-1build6
    • 1.3.23-1build7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hivex Ubuntu 25.10

    Versions
    • 1.3.24-1build4
    • 1.3.24-1build5
    • 1.3.24-1build6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • hivex Ubuntu 26.10

    Versions
    • 1.3.24-2.1build2
    • 1.3.24-3build0.1
    • 1.3.24-3build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →