Skip to content
Heist/ feed
Back to feed
High

modsecurity — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-1019

ModSecurity / libModSecurity 3.0.0 to 3.0.11 is affected by a WAF bypass for path-based payloads submitted via specially crafted request URLs. ModSecurity v3 decodes percent-encoded characters present in request URLs before it separates the URL path component from the optional query string component. This results in an impedance mismatch versus RFC compliant back-end applications. The vulnerability hides an attack payload in the path component of the URL from WAF rules inspecting it. A back-end may be vulnerable if it uses the path component of request URLs to construct queries. Integrators and users are advised to upgrade to 3.0.12. The ModSecurity v2 release line is not affected by this vulnerability.

Products
modsecurity
Affected versions
3.0.10-1, 3.0.11-1, 3.0.12-1, 3.0.12-1.1build1, 3.0.12-1.1build2, 3.0.13-1, 3.0.14-1, 3.0.14-1build1, 3.0.14-1build2, 3.0.15-1, 3.0.16-1, 3.0.3-1, 3.0.4-1, 3.0.4-1build1, 3.0.4-2, 3.0.6-1
Fixed versions
Not specified
CVEs
CVE-2024-1019
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:06 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-1019

core-osv · Original source

Published 30 Jan 2024, 16:15 UTC

ModSecurity / libModSecurity 3.0.0 to 3.0.11 is affected by a WAF bypass for path-based payloads submitted via specially crafted request URLs. ModSecurity v3 decodes percent-encoded characters present in request URLs before it separates the URL path component from the optional query string component. This results in an impedance mismatch versus RFC compliant back-end applications. The vulnerability hides an attack payload in the path component of the URL from WAF rules inspecting it. A back-end may be vulnerable if it uses the path component of request URLs to construct queries. Integrators and users are advised to upgrade to 3.0.12. The ModSecurity v2 release line is not affected by this vulnerability.

osv:UBUNTU-CVE-2024-1019

modsecurity

Fixed versions: Not specified

modsecurity

Fixed versions: Not specified

modsecurity

Fixed versions: Not specified

modsecurity

Fixed versions: Not specified

modsecurity

Fixed versions: Not specified

modsecurity

Fixed versions: Not specified

Complete source record
{
  "id": "8640f0f1b73c3a85a15ea3b31e9218128f518672cd91090a515d019347bd36c7",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-1019",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-1019",
    "summary": "ModSecurity / libModSecurity 3.0.0 to 3.0.11 is affected by a WAF bypass for path-based payloads submitted via specially crafted request URLs. ModSecurity v3 decodes percent-encoded characters present in request URLs before it separates the URL path component from the optional query string component. This results in an impedance mismatch versus RFC compliant back-end applications. The vulnerability hides an attack payload in the path component of the URL from WAF rules inspecting it. A back-end may be vulnerable if it uses the path component of request URLs to construct queries. Integrators and users are advised to upgrade to 3.0.12. The ModSecurity v2 release line is not affected by this vulnerability.",
    "evidence": "osv:UBUNTU-CVE-2024-1019",
    "products": [
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.4-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.0.4-1build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.4-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.0.6-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.10-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.11-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.12-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.12-1.1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.12-1.1build2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.13-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.0.14-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "3.0.14-1build1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.14-1build2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.0.15-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.0.16-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "modsecurity",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.14-1build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "3.0.14-1build2",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2024-1019",
      "aliases": [
        "UBUNTU-CVE-2024-1019"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.0.3-1",
            "3.0.4-1",
            "3.0.4-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3",
                "binary_version": "3.0.4-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.0.4-2",
            "3.0.6-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3",
                "binary_version": "3.0.6-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.0.10-1",
            "3.0.11-1",
            "3.0.12-1",
            "3.0.12-1.1build1",
            "3.0.12-1.1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3t64",
                "binary_version": "3.0.12-1.1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.0.13-1",
            "3.0.14-1",
            "3.0.14-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3t64",
                "binary_version": "3.0.14-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.0.14-1build2",
            "3.0.15-1",
            "3.0.16-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3t64",
                "binary_version": "3.0.16-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "modsecurity",
            "purl": "pkg:deb/ubuntu/modsecurity?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.0.14-1build1",
            "3.0.14-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1019.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libmodsecurity3t64",
                "binary_version": "3.0.14-1build2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:28.691891280Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-1019"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-1019",
        "https://owasp.org/www-project-modsecurity/tab_cves#cve-2024-1019-2024-01-30",
        "https://www.cve.org/CVERecord?id=CVE-2024-1019"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-1019",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355720,
  "published_at": "2024-01-30T16:15:00+00:00"
}