UBUNTU-CVE-2021-3504

Source
https://ubuntu.com/security/CVE-2021-3504
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3504.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3504
Related
Published
2021-05-11T23:15:00Z
Modified
2024-10-15T14:08:14Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:14.04:LTS / hivex

Package

Name
hivex
Purl
pkg:deb/ubuntu/hivex?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.9-2ubuntu0.1~esm1

Affected versions

1.*

1.3.7-5
1.3.8-1
1.3.8-1build1
1.3.9-1
1.3.9-2
1.3.9-2build1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex-bin"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex-bin-dbgsym"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex-dev"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex-dev-dbgsym"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex-ocaml"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex-ocaml-dbgsym"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex-ocaml-dev"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex-ocaml-dev-dbgsym"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex0"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex0-dbg"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libhivex0-dbgsym"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libwin-hivex-perl"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "libwin-hivex-perl-dbgsym"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "python-hivex"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "python-hivex-dbgsym"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "python3-hivex"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "python3-hivex-dbgsym"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "ruby-hivex"
        },
        {
            "binary_version": "1.3.9-2ubuntu0.1~esm1",
            "binary_name": "ruby-hivex-dbgsym"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / hivex

Package

Name
hivex
Purl
pkg:deb/ubuntu/hivex?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.13-1ubuntu0.1~esm1

Affected versions

1.*

1.3.11-1build1
1.3.12-1
1.3.13-1
1.3.13-1build1
1.3.13-1build2
1.3.13-1build3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex-bin"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex-bin-dbgsym"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex-dev"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex-dev-dbgsym"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex-ocaml"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex-ocaml-dbgsym"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex-ocaml-dev"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex-ocaml-dev-dbgsym"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex0"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex0-dbg"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libhivex0-dbgsym"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libwin-hivex-perl"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "libwin-hivex-perl-dbgsym"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "python-hivex"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "python3-hivex"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "ruby-hivex"
        },
        {
            "binary_version": "1.3.13-1ubuntu0.1~esm1",
            "binary_name": "ruby-hivex-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / hivex

Package

Name
hivex
Purl
pkg:deb/ubuntu/hivex?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.15-1ubuntu0.1

Affected versions

1.*

1.3.14-1build4
1.3.14-3build1
1.3.14-4
1.3.14-4build1
1.3.15-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libhivex-bin"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libhivex-bin-dbgsym"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libhivex-dev"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libhivex-ocaml"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libhivex-ocaml-dbgsym"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libhivex-ocaml-dev"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libhivex0"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libhivex0-dbgsym"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libwin-hivex-perl"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "libwin-hivex-perl-dbgsym"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "python-hivex"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "python-hivex-dbgsym"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "python3-hivex"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "python3-hivex-dbgsym"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "ruby-hivex"
        },
        {
            "binary_version": "1.3.15-1ubuntu0.1",
            "binary_name": "ruby-hivex-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / hivex

Package

Name
hivex
Purl
pkg:deb/ubuntu/hivex?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.18-2ubuntu0.1

Affected versions

1.*

1.3.18-1
1.3.18-1build1
1.3.18-2
1.3.18-2build1
1.3.18-2build2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libhivex-bin"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libhivex-bin-dbgsym"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libhivex-dev"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libhivex-ocaml"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libhivex-ocaml-dbgsym"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libhivex-ocaml-dev"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libhivex0"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libhivex0-dbgsym"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libwin-hivex-perl"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "libwin-hivex-perl-dbgsym"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "python3-hivex"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "python3-hivex-dbgsym"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "ruby-hivex"
        },
        {
            "binary_version": "1.3.18-2ubuntu0.1",
            "binary_name": "ruby-hivex-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / hivex

Package

Name
hivex
Purl
pkg:deb/ubuntu/hivex?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.3.19-1ubuntu3
1.3.21-1ubuntu1
1.3.21-1ubuntu4
1.3.21-1ubuntu5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / hivex

Package

Name
hivex
Purl
pkg:deb/ubuntu/hivex?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.3.23-1build7
1.3.23-2
1.3.24-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / hivex

Package

Name
hivex
Purl
pkg:deb/ubuntu/hivex?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.3.23-1build2
1.3.23-1build3
1.3.23-1build4
1.3.23-1build5
1.3.23-1build6
1.3.23-1build7

Ecosystem specific

{
    "ubuntu_priority": "medium"
}