OESA-2021-1278

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2021-1278
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2021-1278.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2021-1278
Upstream
Published
2021-07-24T11:03:04Z
Modified
2025-08-12T05:08:22.184502Z
Summary
rubygem-addressable security update
Details

Addressable is a replacement for the URI implementation that is part of Ruby's standard library. It more closely conforms to the relevant RFCs and adds support for URI and URL templates.

Security Fix(es):

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. An uncontrolled resource consumption vulnerability exists after version 2.3.0 through version 2.7.0. Within the URI template implementation in Addressable, a maliciously crafted template may result in uncontrolled resource consumption, leading to denial of service when matched against a URI. In typical usage, templates would not normally be read from untrusted user input, but nonetheless, no previous security advisory for Addressable has cautioned against doing this. Users of the parsing capabilities in Addressable but not the URI template capabilities are unaffected. The vulnerability is patched in version 2.8.0. As a workaround, only create Template objects from trusted sources that have been validated not to produce catastrophic backtracking.(CVE-2021-32740)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:20.03-LTS-SP1 / rubygem-addressable

Package

Name
rubygem-addressable
Purl
pkg:rpm/openEuler/rubygem-addressable&distro=openEuler-20.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.2-2.oe1

Ecosystem specific

{
    "src": [
        "rubygem-addressable-2.5.2-2.oe1.src.rpm"
    ],
    "noarch": [
        "rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm",
        "rubygem-addressable-2.5.2-2.oe1.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP2 / rubygem-addressable

Package

Name
rubygem-addressable
Purl
pkg:rpm/openEuler/rubygem-addressable&distro=openEuler-20.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.2-2.oe1

Ecosystem specific

{
    "src": [
        "rubygem-addressable-2.5.2-2.oe1.src.rpm"
    ],
    "noarch": [
        "rubygem-addressable-doc-2.5.2-2.oe1.noarch.rpm",
        "rubygem-addressable-2.5.2-2.oe1.noarch.rpm"
    ]
}