CVE-2021-43824

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-43824
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43824.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-43824
Aliases
Downstream
Related
  • GHSA-vj5m-rch8-5r2p
Published
2022-02-22T23:15:10.813Z
Modified
2025-11-20T11:56:33.133567Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Envoy is an open source edge and service proxy, designed for cloud-native applications. In affected versions a crafted request crashes Envoy when a CONNECT request is sent to JWT filter configured with regex match. This provides a denial of service attack vector. The only workaround is to not use regex in the JWT filter. Users are advised to upgrade.

References

Affected packages

Git / github.com/envoyproxy/envoy

Affected ranges

Type
GIT
Repo
https://github.com/envoyproxy/envoy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.0.0
v1.1.0
v1.10.0
v1.11.0
v1.12.0
v1.13.0
v1.14.0
v1.15.0
v1.16.0
v1.17.0
v1.18.0
v1.18.1
v1.18.2
v1.19.0
v1.2.0
v1.20.0
v1.21.0
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.8.0
v1.9.0

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "16695513628882731710386236080108344740",
                "226065387100708587604550551532432243880",
                "16435745593053750970339365835642838940",
                "290690702275778456420641259607659362098"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "source/extensions/filters/http/jwt_authn/matcher.cc"
        },
        "source": "https://github.com/envoyproxy/envoy/commit/9371333230b1a6e1be2eccf4868771e11af6253a",
        "signature_version": "v1",
        "id": "CVE-2021-43824-21f82a03"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "115441571730810549079652967827902341184",
                "60438389137165276459256521079623731500",
                "325439369076572620572492726448389973123"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "test/extensions/filters/http/jwt_authn/test_common.h"
        },
        "source": "https://github.com/envoyproxy/envoy/commit/9371333230b1a6e1be2eccf4868771e11af6253a",
        "signature_version": "v1",
        "id": "CVE-2021-43824-b538155e"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "13763891093658840408709216253600349407",
                "199331892274894036869438950256051462149",
                "29210709294056896109510237386162307151"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "test/extensions/filters/http/jwt_authn/filter_integration_test.cc"
        },
        "source": "https://github.com/envoyproxy/envoy/commit/9371333230b1a6e1be2eccf4868771e11af6253a",
        "signature_version": "v1",
        "id": "CVE-2021-43824-f21ad525"
    }
]