Advisory

UBUNTU-CVE-2021-33285

Also known as: CVE-2021-33285

Summary

The record has no summary.

Details

In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute is supplied to the function ntfs_get_attribute_value, a heap buffer overflow can occur allowing for memory disclosure or denial of service. The vulnerability is caused by an out-of-bound buffer access which can be triggered by mounting a crafted ntfs partition. The root cause is a missing consistency check after reading an MFT record : the "bytes_in_use" field should be less than the "bytes_allocated" field. When it is not, the parsing of the records proceeds into the wild.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2021-09-07 14:15 UTC
Modified
2026-04-22 12:54 UTC

Affected packages and fixes

ntfs-3g

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1:2017.3.23-2ubuntu0.18.04.3 (ecosystem)

Fixed versions

1:2017.3.23-2ubuntu0.18.04.3

Fix

  • Fixed version 1:2017.3.23-2ubuntu0.18.04.3
    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.

ntfs-3g

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1:2017.3.23AR.3-3ubuntu1.1 (ecosystem)

Fixed versions

1:2017.3.23AR.3-3ubuntu1.1

Fix

  • Fixed version 1:2017.3.23AR.3-3ubuntu1.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.

ntfs-3g

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:2017.3.23AR.3-3ubuntu5 (ecosystem)

Fixed versions

1:2017.3.23AR.3-3ubuntu5

Fix

  • Fixed version 1:2017.3.23AR.3-3ubuntu5
    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.

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