CVE-2020-9274

Source
https://cve.org/CVERecord?id=CVE-2020-9274
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-9274.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-9274
Downstream
Related
Published
2020-02-26T16:15:19.847Z
Modified
2026-04-02T06:46:33.128118Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

An issue was discovered in Pure-FTPd 1.0.49. An uninitialized pointer vulnerability has been detected in the diraliases linked list. When the *lookupalias(const char alias) or printaliases(void) function is called, they fail to correctly detect the end of the linked list and try to access a non-existent list member. This is related to init_aliases in diraliases.c.

References

Affected packages

Git / github.com/jedisct1/pure-ftpd

Affected ranges

Type
GIT
Repo
https://github.com/jedisct1/pure-ftpd
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0.50"
        }
    ]
}

Affected versions

1.*
1.0.32
1.0.32.1-thr
1.0.33
1.0.34
1.0.35
1.0.36
1.0.37
1.0.38
1.0.39
1.0.40
1.0.41
1.0.42
1.0.43
1.0.44
1.0.45
1.0.46
1.0.47
1.0.48
1.0.49

Database specific

vanir_signatures
[
    {
        "signature_version": "v1",
        "source": "https://github.com/jedisct1/pure-ftpd/commit/868f0e2277e3f5890ca08c84d41de8065a7d8bc3",
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "62861421324718626283205813091113225033",
                "276556215880805753523756337752274567287",
                "139825961526930270406704652117385392827"
            ]
        },
        "id": "CVE-2020-9274-00e4d04c",
        "target": {
            "file": "src/simpleconf_ftpd.h"
        }
    },
    {
        "signature_version": "v1",
        "source": "https://github.com/jedisct1/pure-ftpd/commit/8d0d42542e2cb7a56d645fbe4d0ef436e38bcefa",
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "100207080916508580202372723916900216595",
                "215980660364558502349874527242322537352",
                "245421707797726720776815470716609767927",
                "94262688675984974272434036273383263737",
                "24523254683584298689154031952110136271",
                "339004118064621303234224528990699110630",
                "141824722244697334254164220584752278739",
                "230270262883428672407869935702932127102"
            ]
        },
        "id": "CVE-2020-9274-4817218f",
        "target": {
            "file": "src/diraliases.c"
        }
    },
    {
        "signature_version": "v1",
        "source": "https://github.com/jedisct1/pure-ftpd/commit/868f0e2277e3f5890ca08c84d41de8065a7d8bc3",
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "327613222484680267523609399946935356801",
                "64578520351811071438175404995853636934",
                "334874348702182263595910484650313300601",
                "55911490789187075424799755591925651998",
                "70197884628312536342180718915065003616",
                "5617403673146396898843751981405312363",
                "242650641383625547911307232728864617038",
                "77025422434488939853243591243294715107",
                "58890166137011872160805173120156300682",
                "96871755512210542170053570303506689476",
                "274654776397210090945500021649092363083",
                "69649565509962129596219163301725269085"
            ]
        },
        "id": "CVE-2020-9274-4d96a6cc",
        "target": {
            "file": "src/ftpd.c"
        }
    },
    {
        "signature_version": "v1",
        "source": "https://github.com/jedisct1/pure-ftpd/commit/8d0d42542e2cb7a56d645fbe4d0ef436e38bcefa",
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "function_hash": "118518986303841811066015673851572743280",
            "length": 1196.0
        },
        "id": "CVE-2020-9274-5a2a20bb",
        "target": {
            "function": "init_aliases",
            "file": "src/diraliases.c"
        }
    },
    {
        "signature_version": "v1",
        "source": "https://github.com/jedisct1/pure-ftpd/commit/868f0e2277e3f5890ca08c84d41de8065a7d8bc3",
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "function_hash": "37089621735897002683250435944003137392",
            "length": 14818.0
        },
        "id": "CVE-2020-9274-bdd51916",
        "target": {
            "function": "pureftpd_start",
            "file": "src/ftpd.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-9274.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "30"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "31"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "32"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "16.04"
            }
        ]
    }
]