USN-5316-1

Source
https://ubuntu.com/security/notices/USN-5316-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5316-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5316-1
Upstream
Related
Published
2022-03-08T03:54:32.188725Z
Modified
2025-10-13T04:35:48Z
Summary
redis vulnerability
Details

Reginaldo Silva discovered that due to a packaging issue, a remote attacker with the ability to execute arbitrary Lua scripts could possibly escape the Lua sandbox and execute arbitrary code on the host.

References

Affected packages

Ubuntu:20.04:LTS / redis

Package

Name
redis
Purl
pkg:deb/ubuntu/redis@5:5.0.7-2ubuntu0.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5:5.0.7-2ubuntu0.1

Affected versions

5:5.*

5:5.0.5-2build1
5:5.0.6-1
5:5.0.7-1
5:5.0.7-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5:5.0.7-2ubuntu0.1",
            "binary_name": "redis"
        },
        {
            "binary_version": "5:5.0.7-2ubuntu0.1",
            "binary_name": "redis-sentinel"
        },
        {
            "binary_version": "5:5.0.7-2ubuntu0.1",
            "binary_name": "redis-server"
        },
        {
            "binary_version": "5:5.0.7-2ubuntu0.1",
            "binary_name": "redis-tools"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:20.04:LTS",
    "cves": [
        {
            "id": "CVE-2022-0543",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}