USN-5020-1

See a problem?
Source
https://ubuntu.com/security/notices/USN-5020-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/USN-5020-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5020-1
Related
Published
2021-07-21T14:20:02.022630Z
Modified
2021-07-21T14:20:02.022630Z
Summary
ruby2.3, ruby2.5, ruby2.7 vulnerabilities
Details

It was discovered that Ruby incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code. (CVE-2021-31799)

It was discovered that Ruby incorrectly handled certain inputs. An attacker could possibly use this issue to conduct port scans and service banner extractions. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 20.10, and Ubuntu 21.04. (CVE-2021-31810)

It was discovered that Ruby incorrectly handled certain inputs. An attacker could possibly use this issue to perform machine-in-the-middle attackers to bypass the TLS protection. (CVE-2021-32066)

References

Affected packages

Ubuntu:20.04:LTS / ruby2.7

Package

Name
ruby2.7

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.0-5ubuntu1.5

Ecosystem specific

{
    "availability": "No subscription needed",
    "binaries": [
        {
            "ruby2.7-doc": "2.7.0-5ubuntu1.5",
            "ruby2.7": "2.7.0-5ubuntu1.5",
            "libruby2.7": "2.7.0-5ubuntu1.5",
            "ruby2.7-dev": "2.7.0-5ubuntu1.5"
        }
    ]
}

Ubuntu:18.04:LTS / ruby2.5

Package

Name
ruby2.5

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.1-1ubuntu1.10

Ecosystem specific

{
    "availability": "No subscription needed",
    "binaries": [
        {
            "ruby2.5": "2.5.1-1ubuntu1.10",
            "libruby2.5": "2.5.1-1ubuntu1.10",
            "ruby2.5-dev": "2.5.1-1ubuntu1.10",
            "ruby2.5-doc": "2.5.1-1ubuntu1.10"
        }
    ]
}

Ubuntu:Pro:16.04:LTS / ruby2.3

Package

Name
ruby2.3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.1-2~ubuntu16.04.16+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "ruby2.3-doc": "2.3.1-2~ubuntu16.04.16+esm1",
            "ruby2.3-dev": "2.3.1-2~ubuntu16.04.16+esm1",
            "ruby2.3-tcltk": "2.3.1-2~ubuntu16.04.16+esm1",
            "libruby2.3": "2.3.1-2~ubuntu16.04.16+esm1",
            "ruby2.3": "2.3.1-2~ubuntu16.04.16+esm1"
        }
    ]
}