CVE-2021-46784

Source
https://cve.org/CVERecord?id=CVE-2021-46784
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46784.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-46784
Downstream
Related
Published
2022-07-17T22:15:08.737Z
Modified
2026-04-11T23:37:31.373867Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In Squid 3.x through 3.5.28, 4.x through 4.17, and 5.x before 5.6, due to improper buffer management, a Denial of Service can occur when processing long Gopher server responses.

References

Affected packages

Git / github.com/squid-cache/squid

Affected ranges

Type
GIT
Repo
https://github.com/squid-cache/squid
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "3.0"
        },
        {
            "last_affected": "3.5.28"
        },
        {
            "introduced": "4.0"
        },
        {
            "last_affected": "4.17"
        },
        {
            "introduced": "5.0"
        },
        {
            "fixed": "5.6"
        }
    ]
}

Affected versions

4.*
4.15-20210522-snapshot
4.15-20210523-snapshot
4.15-20210524-snapshot
4.15-20210525-snapshot
4.15-20210527-snapshot
5.*
5.0.6-20210522-snapshot
5.0.6-20210523-snapshot
5.0.6-20210524-snapshot
5.0.6-20210525-snapshot
5.0.6-20210527-snapshot
6.*
6.0.0-20210522-master-snapshot
6.0.0-20210523-master-snapshot
6.0.0-20210524-master-snapshot
6.0.0-20210525-master-snapshot
6.0.0-20210527-master-snapshot
Other
HISTORIC_RELEASES
M-staged-PR161
M-staged-PR164
M-staged-PR170
M-staged-PR176
M-staged-PR179
M-staged-PR181
M-staged-PR182
M-staged-PR186
M-staged-PR189
M-staged-PR193
M-staged-PR195
M-staged-PR196
M-staged-PR198
M-staged-PR199
M-staged-PR200
M-staged-PR202
M-staged-PR206
M-staged-PR208
M-staged-PR209
M-staged-PR210
M-staged-PR218
M-staged-PR220
M-staged-PR221
M-staged-PR225
M-staged-PR227
M-staged-PR229
M-staged-PR230
M-staged-PR235
M-staged-PR237
M-staged-PR238
M-staged-PR239
M-staged-PR241
M-staged-PR242
M-staged-PR252
M-staged-PR255
M-staged-PR258
M-staged-PR264
M-staged-PR266
M-staged-PR267
M-staged-PR268
M-staged-PR274
M-staged-PR276
M-staged-PR293
M-staged-PR294
M-staged-PR295
M-staged-PR299
M-staged-PR306
M-staged-PR314
M-staged-PR319
M-staged-PR342
M-staged-PR345
M-staged-PR348
M-staged-PR351
M-staged-PR359
M-staged-PR364
M-staged-PR365
M-staged-PR366
M-staged-PR370
M-staged-PR372
M-staged-PR373
M-staged-PR375
M-staged-PR376
SQUID_3_0_PRE1
SQUID_3_0_PRE2
SQUID_3_0_PRE3
SQUID_3_0_PRE4
SQUID_3_0_PRE5
SQUID_3_0_PRE6
SQUID_3_0_PRE7
SQUID_3_0_RC1
SQUID_3_5_0_1
SQUID_3_5_0_2
SQUID_3_5_0_3
SQUID_3_5_0_4
SQUID_3_5_1
SQUID_3_5_10
SQUID_3_5_11
SQUID_3_5_12
SQUID_3_5_13
SQUID_3_5_14
SQUID_3_5_15
SQUID_3_5_16
SQUID_3_5_17
SQUID_3_5_18
SQUID_3_5_19
SQUID_3_5_2
SQUID_3_5_20
SQUID_3_5_21
SQUID_3_5_22
SQUID_3_5_23
SQUID_3_5_24
SQUID_3_5_25
SQUID_3_5_26
SQUID_3_5_27
SQUID_3_5_28
SQUID_3_5_3
SQUID_3_5_4
SQUID_3_5_5
SQUID_3_5_6
SQUID_3_5_7
SQUID_3_5_8
SQUID_3_5_9
SQUID_4_0_1
SQUID_4_0_10
SQUID_4_0_11
SQUID_4_0_12
SQUID_4_0_13
SQUID_4_0_14
SQUID_4_0_15
SQUID_4_0_16
SQUID_4_0_17
SQUID_4_0_18
SQUID_4_0_19
SQUID_4_0_2
SQUID_4_0_20
SQUID_4_0_21
SQUID_4_0_22
SQUID_4_0_23
SQUID_4_0_24
SQUID_4_0_25
SQUID_4_0_3
SQUID_4_0_4
SQUID_4_0_5
SQUID_4_0_6
SQUID_4_0_7
SQUID_4_0_8
SQUID_4_0_9
SQUID_4_1
SQUID_4_10
SQUID_4_11
SQUID_4_12
SQUID_4_13
SQUID_4_14
SQUID_4_15
SQUID_4_16
SQUID_4_17
SQUID_4_2
SQUID_4_3
SQUID_4_4
SQUID_4_5
SQUID_4_6
SQUID_4_7
SQUID_4_8
SQUID_4_9
SQUID_5_0_1
SQUID_5_0_2
SQUID_5_0_3
SQUID_5_0_4
SQUID_5_0_5
SQUID_5_0_6
SQUID_5_0_7
SQUID_5_1
SQUID_5_2
SQUID_5_3
SQUID_5_4_1
SQUID_5_5
take00

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "11.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "12.0"
            }
        ]
    }
]
vanir_signatures
[
    {
        "target": {
            "file": "src/gopher.cc"
        },
        "digest": {
            "line_hashes": [
                "13124783738520294387122075587809643820",
                "115923823867099938906874782973523574430",
                "94176114589957359507199599998518424517",
                "274977082621377609007893331183207467320",
                "326944887767546635409112326187408158172",
                "118077218092707899369457502259780153675",
                "11392715957146171133002480955151239589",
                "7108144494288769788643433600508289851",
                "278401408903419339614801883875193482385",
                "47086078884500772332109304663274528726",
                "36165590790211092546602452715140633540",
                "53803634117329376348140893914487513779",
                "183035891221340922906773914299954095518",
                "118908349958174827908154118196211494386",
                "235275655941132743778404614242185853759",
                "220983909332043003756985711762302731444",
                "112222650624639445787427921868800471679",
                "89423354348451111212535870400351634844",
                "336662990902233906387508948558700282683",
                "328832038316255072814770803101543308756",
                "55825358428117252454084605287656145833",
                "149977315569630693896859072671474703338",
                "2315706031118605201305542734097259052",
                "225598083073185892585468507028871217304",
                "138690528796318419605791197095472481070",
                "54513255579585281735845742677858834286",
                "212630606258933052783305110649659332444",
                "236471352302375339582580763156851290577",
                "160418389388999701011085631663522801219",
                "186688387659168918349349690253835939353",
                "321674346053248937144733360996720008958",
                "279515024970642496220045255435546109735",
                "134661006999943121819109183904413382713",
                "272613848798631255941155953538687507184",
                "324925446403978098896557902088368020970",
                "211923122287006986501699460157115882733",
                "252935344932650398932598264365479772113",
                "18942574542254674337861279334464865503",
                "263481830612776662136037837089945978086",
                "20747230505122173644350036526025366471",
                "61864829436994029161631352164722157372",
                "237998407588399780749174474398610322803",
                "68828881545218290373243218612939408260",
                "246040594449409312085890662639579358390",
                "107468142861186422461970779314782411204",
                "256778840515540688320006783323055282741",
                "199346876999600431421789942830439075459",
                "73342966507704218519621655118571868221",
                "100607674149811170452632539539335330018",
                "186328700864024663402034150772433027557",
                "324642670792422475476757576736623726327",
                "25523392985587464676366915932477319550",
                "169690349476604574206764447281033598655",
                "85258812759861249394735681405200249394",
                "273543527631926404307276941390174506420",
                "179717529279834891293921147312566150839",
                "213898650025930163164189634983313239715",
                "4120415116524143482957962496157887464",
                "145757150609783541797461748033783530200",
                "151567726560542897992320688062573159607",
                "158331498850698070496950386538212857530",
                "113005471972511323907382955523516626074",
                "337625326255853171311861208317302421355"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2021-46784-01810d80",
        "source": "https://github.com/squid-cache/squid/commit/5e2ea2b13bd98f53e29964ca26bb0d602a8a12b9"
    },
    {
        "target": {
            "file": "src/gopher.cc",
            "function": "gopherToHTML"
        },
        "digest": {
            "function_hash": "63899508942904651983784718535806986154",
            "length": 6595.0
        },
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1",
        "id": "CVE-2021-46784-75296bdc",
        "source": "https://github.com/squid-cache/squid/commit/5e2ea2b13bd98f53e29964ca26bb0d602a8a12b9"
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46784.json"
vanir_signatures_modified
"2026-04-11T23:37:31Z"