CVE-2022-40284

Source
https://cve.org/CVERecord?id=CVE-2022-40284
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-40284.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-40284
Downstream
Related
Published
2022-11-06T23:15:09.463Z
Modified
2026-04-16T00:04:31.222534407Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A buffer overflow was discovered in NTFS-3G before 2022.10.3. Crafted metadata in an NTFS image can cause code execution. A local attacker can exploit this if the ntfs-3g binary is setuid root. A physically proximate attacker can exploit this if NTFS-3G software is configured to execute upon attachment of an external storage device.

Database specific
{
    "unresolved_ranges": [
        {
            "cpe": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "10.0"
                }
            ]
        },
        {
            "cpe": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "35"
                }
            ]
        },
        {
            "cpe": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "36"
                }
            ]
        },
        {
            "cpe": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "37"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/tuxera/ntfs-3g

Affected ranges

Type
GIT
Repo
https://github.com/tuxera/ntfs-3g
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:tuxera:ntfs-3g:*:*:*:*:*:*:*:*",
    "source": "CPE_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2022.10.3"
        }
    ]
}

Affected versions

Other
2011_3_26
N0_20061031_BETA
N0_20061115_BETA
N0_20061212_BETA
N0_20061218_BETA
N0_20070102_BETA
N0_20070116_BETA
N0_20070118_BETA
N0_20070207_RC1
N1_0
N1_320_RC
N1_328
N1_411_RC
N1_416
N1_417
N1_516
N1_612_RC
N1_616
N1_710
N1_810
N1_826
N1_910_RC
N1_913
N2006_11_07_011225
N2006_11_08_220332
N2006_11_08_233131
N2006_11_11_005720
N2006_11_11_010308
N2006_11_11_013125
N2006_11_11_220751
N2006_11_14_010037
N2006_11_14_220946
N2009_10_03_095644
N2009_10_03_104125
N2010_10_2
N2010_2_6
N2010_5_16
N2010_5_22
N2010_6_30_RC
N2010_6_31_RC
N2010_7_23_RC
N2010_8_8
PERMISSION_HANDLING_BASE_20070925
R2009_10_5_RC
start
v2011_10_9_RC
v2011_3_26
v2011_3_28_RC
v2011_4_10
v2011_4_11
v2011_4_12
v2012_1_15
v2013_1_13
2014.*
2014.2.15
2015.*
2015.3.13
2015.3.14
2015.3.5
2016.*
2016.2.15
2016.2.22
2017.*
2017.2.15
2017.3.23
2021.*
2021.5.19
2021.8.14
2021.8.22
2022.*
2022.5.17

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-40284.json"
vanir_signatures_modified
"2026-04-12T05:06:23Z"
vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "229114391697958096691432936098819842262",
                "121519476808419324359138408051850792601",
                "162880585381817795634419956231716962859"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/ntfs-3g.c"
        },
        "source": "https://github.com/tuxera/ntfs-3g/commit/78414d93613532fd82f3a82aba5d4a1c32898781",
        "signature_version": "v1",
        "id": "CVE-2022-40284-95bd24cb"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "6026667066006274991699535869917555024",
                "64192165873624888343770117488607838199",
                "81121319675522598436247948911860345528"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "src/lowntfs-3g.c"
        },
        "source": "https://github.com/tuxera/ntfs-3g/commit/78414d93613532fd82f3a82aba5d4a1c32898781",
        "signature_version": "v1",
        "id": "CVE-2022-40284-ae3f4538"
    }
]