usn-8271-1
Vulnerability from osv_ubuntu
Published
2026-05-14 12:03
Modified
2026-06-29 10:54
Summary
nginx vulnerability
Details

It was discovered that the nginx ngx_http_rewrite_module component incorrectly handled certain rewrite directives. A remote attacker could use this issue to cause nginx to crash, resulting in a denial of service, or possibly execute arbitrary code.


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-42945",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "high",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnginx-mod-http-auth-pam",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-cache-purge",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-dav-ext",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-echo",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-fancyindex",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-geoip",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-geoip2",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-headers-more-filter",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-image-filter",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-ndk",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-perl",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-subs-filter",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-uploadprogress",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-upstream-fair",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-http-xslt-filter",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-mail",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-nchan",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-rtmp",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-stream",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-stream-geoip",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "libnginx-mod-stream-geoip2",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "nginx",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "nginx-common",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "nginx-core",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "nginx-extras",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "nginx-full",
            "binary_version": "1.18.0-6ubuntu14.11"
          },
          {
            "binary_name": "nginx-light",
            "binary_version": "1.18.0-6ubuntu14.11"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "nginx",
        "purl": "pkg:deb/ubuntu/nginx@1.18.0-6ubuntu14.11?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.18.0-6ubuntu14.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.18.0-6ubuntu11",
        "1.18.0-6ubuntu12",
        "1.18.0-6ubuntu14",
        "1.18.0-6ubuntu14.1",
        "1.18.0-6ubuntu14.2",
        "1.18.0-6ubuntu14.3",
        "1.18.0-6ubuntu14.4",
        "1.18.0-6ubuntu14.5",
        "1.18.0-6ubuntu14.6",
        "1.18.0-6ubuntu14.7",
        "1.18.0-6ubuntu14.8",
        "1.18.0-6ubuntu14.10"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-42945",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "high",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnginx-mod-http-geoip",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "libnginx-mod-http-image-filter",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "libnginx-mod-http-perl",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "libnginx-mod-http-xslt-filter",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "libnginx-mod-mail",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "libnginx-mod-stream",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "libnginx-mod-stream-geoip",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "nginx",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "nginx-common",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "nginx-core",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "nginx-extras",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "nginx-full",
            "binary_version": "1.24.0-2ubuntu7.8"
          },
          {
            "binary_name": "nginx-light",
            "binary_version": "1.24.0-2ubuntu7.8"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "nginx",
        "purl": "pkg:deb/ubuntu/nginx@1.24.0-2ubuntu7.8?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.24.0-2ubuntu7.8"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.24.0-1ubuntu1",
        "1.24.0-2ubuntu1",
        "1.24.0-2ubuntu2",
        "1.24.0-2ubuntu3",
        "1.24.0-2ubuntu4",
        "1.24.0-2ubuntu6",
        "1.24.0-2ubuntu7",
        "1.24.0-2ubuntu7.1",
        "1.24.0-2ubuntu7.3",
        "1.24.0-2ubuntu7.4",
        "1.24.0-2ubuntu7.5",
        "1.24.0-2ubuntu7.6",
        "1.24.0-2ubuntu7.7"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-42945",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "high",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:25.10"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnginx-mod-http-geoip",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "libnginx-mod-http-image-filter",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "libnginx-mod-http-perl",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "libnginx-mod-http-xslt-filter",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "libnginx-mod-mail",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "libnginx-mod-stream",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "libnginx-mod-stream-geoip",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "nginx",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "nginx-common",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "nginx-core",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "nginx-extras",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "nginx-full",
            "binary_version": "1.28.0-6ubuntu1.3"
          },
          {
            "binary_name": "nginx-light",
            "binary_version": "1.28.0-6ubuntu1.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "nginx",
        "purl": "pkg:deb/ubuntu/nginx@1.28.0-6ubuntu1.3?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.28.0-6ubuntu1.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.26.3-2ubuntu1",
        "1.26.3-3ubuntu1",
        "1.26.3-3ubuntu2",
        "1.26.3-3ubuntu3",
        "1.28.0-3ubuntu1",
        "1.28.0-4ubuntu1",
        "1.28.0-6ubuntu1",
        "1.28.0-6ubuntu1.1",
        "1.28.0-6ubuntu1.2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2026-42945",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                  "type": "CVSS_V4"
                },
                {
                  "score": "high",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:26.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libnginx-mod-http-geoip",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "libnginx-mod-http-image-filter",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "libnginx-mod-http-perl",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "libnginx-mod-http-xslt-filter",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "libnginx-mod-mail",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "libnginx-mod-stream",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "libnginx-mod-stream-geoip",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "nginx",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "nginx-common",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "nginx-core",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "nginx-extras",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "nginx-full",
            "binary_version": "1.28.3-2ubuntu1.1"
          },
          {
            "binary_name": "nginx-light",
            "binary_version": "1.28.3-2ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "nginx",
        "purl": "pkg:deb/ubuntu/nginx@1.28.3-2ubuntu1.1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.28.3-2ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.28.0-6ubuntu1",
        "1.28.1-2ubuntu1",
        "1.28.1-3ubuntu1",
        "1.28.2-2ubuntu1",
        "1.28.3-2ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that the nginx ngx_http_rewrite_module component\nincorrectly handled certain rewrite directives. A remote attacker could use\nthis issue to cause nginx to crash, resulting in a denial of service, or\npossibly execute arbitrary code.",
  "id": "USN-8271-1",
  "modified": "2026-06-29T10:54:19Z",
  "published": "2026-05-14T12:03:04Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-8271-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-42945"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "nginx vulnerability",
  "upstream": [
    "UBUNTU-CVE-2026-42945"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…