Advisory

UBUNTU-CVE-2021-3504

Also known as: CVE-2021-3504

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.4, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

Dates

Published
2021-05-11 23:15 UTC
Modified
2026-10-17 12:56 UTC

Affected packages and fixes

hivex

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.3.15-1ubuntu0.1 (ecosystem)

Fixed versions

1.3.15-1ubuntu0.1

Fix

  • Fixed version 1.3.15-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

hivex

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.3.18-2ubuntu0.1 (ecosystem)

Fixed versions

1.3.18-2ubuntu0.1

Fix

  • Fixed version 1.3.18-2ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

hivex

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

hivex

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

hivex

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

hivex

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

hivex

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences