USN-7659-1

Source
https://ubuntu.com/security/notices/USN-7659-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7659-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7659-1
Upstream
Related
Published
2025-07-21T23:29:20.995387Z
Modified
2025-07-22T20:15:48.252047Z
Summary
ruby-nokogiri vulnerabilities
Details

It was discovered Nokogiri did not correctly parse XML Schemas. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-26247)

Agustin Gianni discovered that Nokogiri did not correctly parse XML and HTML files. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or leak sensitive information. (CVE-2022-29181)

References

Affected packages

Ubuntu:Pro:20.04:LTS / ruby-nokogiri

Package

Name
ruby-nokogiri
Purl
pkg:deb/ubuntu/ruby-nokogiri@1.10.7+dfsg1-2ubuntu0.1~esm2?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.7+dfsg1-2ubuntu0.1~esm2

Affected versions

1.*

1.10.3+dfsg1-2
1.10.4+dfsg1-1
1.10.7+dfsg1-1
1.10.7+dfsg1-2
1.10.7+dfsg1-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.10.7+dfsg1-2ubuntu0.1~esm2",
            "binary_name": "ruby-nokogiri"
        },
        {
            "binary_version": "1.10.7+dfsg1-2ubuntu0.1~esm2",
            "binary_name": "ruby-nokogiri-dbgsym"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Ubuntu:Pro:22.04:LTS / ruby-nokogiri

Package

Name
ruby-nokogiri
Purl
pkg:deb/ubuntu/ruby-nokogiri@1.13.1+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.13.1+dfsg-2ubuntu0.1~esm1

Affected versions

1.*

1.11.1+dfsg-2ubuntu1
1.11.7+dfsg-3
1.11.7+dfsg-3build1
1.13.1+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.13.1+dfsg-2ubuntu0.1~esm1",
            "binary_name": "ruby-nokogiri"
        },
        {
            "binary_version": "1.13.1+dfsg-2ubuntu0.1~esm1",
            "binary_name": "ruby-nokogiri-dbgsym"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}