OESA-2021-1144

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

Nokogiri parses and searches XML/HTML very quickly, and also has correctly implemented CSS3 selector support as well as XPath support. Nokogiri also features an Hpricot compatibility layer to help ease the change to using correct CSS and XPath.

Security Fix(es):

Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support. In Nokogiri before version 1.11.0.rc4 there is an XXE vulnerability. XML Schemas parsed by Nokogiri::XML::Schema are trusted by default, allowing external resources to be accessed over the network, potentially enabling XXE or SSRF attacks. This behavior is counter to the security policy followed by Nokogiri maintainers, which is to treat all input as untrusted by default whenever possible. This is fixed in Nokogiri version 1.11.0.rc4.(CVE-2020-26247)

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

Affected packages

openEuler:20.03-LTS-SP1 / rubygem-nokogiri

Package

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

Affected ranges

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

Ecosystem specific

{
    "src": [
        "rubygem-nokogiri-1.10.5-2.oe1.src.rpm"
    ],
    "x86_64": [
        "rubygem-nokogiri-debuginfo-1.10.5-2.oe1.x86_64.rpm",
        "rubygem-nokogiri-doc-1.10.5-2.oe1.x86_64.rpm",
        "rubygem-nokogiri-1.10.5-2.oe1.x86_64.rpm",
        "rubygem-nokogiri-debugsource-1.10.5-2.oe1.x86_64.rpm"
    ],
    "aarch64": [
        "rubygem-nokogiri-debuginfo-1.10.5-2.oe1.aarch64.rpm",
        "rubygem-nokogiri-1.10.5-2.oe1.aarch64.rpm",
        "rubygem-nokogiri-debugsource-1.10.5-2.oe1.aarch64.rpm",
        "rubygem-nokogiri-doc-1.10.5-2.oe1.aarch64.rpm"
    ]
}