USN-5610-1

Source
https://ubuntu.com/security/notices/USN-5610-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5610-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-5610-1
Upstream
Related
Published
2022-09-14T08:30:19.966914Z
Modified
2025-07-16T08:55:35.902901Z
Summary
rust-regex vulnerability
Details

Addison Crump discovered that rust-regex did not properly limit the complexity of the regular expressions (regex) it parses. An attacker could possibly use this issue to cause a denial of service.

References

Affected packages

Ubuntu:20.04:LTS / rust-regex

Package

Name
rust-regex
Purl
pkg:deb/ubuntu/rust-regex@1.2.1-3ubuntu0.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.1-3ubuntu0.1

Affected versions

1.*

1.2.1-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-regex-dev",
            "binary_version": "1.2.1-3ubuntu0.1"
        }
    ],
    "availability": "No subscription required"
}

Ubuntu:22.04:LTS / rust-regex

Package

Name
rust-regex
Purl
pkg:deb/ubuntu/rust-regex@1.5.4-1ubuntu0.1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.4-1ubuntu0.1

Affected versions

1.*

1.3.7-1
1.3.9-1
1.5.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-regex+aho-corasick-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+default-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+memchr-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+perf-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+perf-literal-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+unicode-age-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+unicode-bool-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+unicode-case-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+unicode-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+unicode-gencat-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+unicode-perl-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+unicode-script-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex+unicode-segment-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        },
        {
            "binary_name": "librust-regex-dev",
            "binary_version": "1.5.4-1ubuntu0.1"
        }
    ],
    "availability": "No subscription required"
}