Skip to content
Heist/ feed
Back to feed
UnratedFix available

unrar-nonfree vulnerabilities

Type: advisorySources: OSV

It was discovered that UnRAR incorrectly handled certain paths. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to write arbitrary files outside of the targeted directory. (CVE-2022-30333, CVE-2022-48579) It was discovered that UnRAR incorrectly handled certain recovery volumes. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2023-40477) Siddharth Dushantha discovered that UnRAR incorrectly handled ANSI escape sequences when writing screen output. If a user or automated system were tricked into processing a specially crafted RAR archive, a remote attacker could possibly use this issue to spoof screen output or cause a denial of service. (CVE-2024-33899)

Products
unrar-nonfree
Affected versions
1:5.6.6-2, 1:5.6.6-2build1, 1:6.0.5-1, 1:6.0.7-6, 1:6.1.2-1, 1:6.1.3-1, 1:6.1.3-2, 1:6.1.4-1, 1:6.1.5-1
Fixed versions
1:5.6.6-2ubuntu0.1, 1:6.1.5-1ubuntu0.1
CVEs
CVE-2022-30333, CVE-2022-48579, CVE-2023-40477, CVE-2024-33899
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 17:15 UTC · Revision 1

Source evidence

unrar-nonfree vulnerabilities

core-osv · Original source

Published 12 Mar 2025, 16:19 UTC

It was discovered that UnRAR incorrectly handled certain paths. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to write arbitrary files outside of the targeted directory. (CVE-2022-30333, CVE-2022-48579) It was discovered that UnRAR incorrectly handled certain recovery volumes. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2023-40477) Siddharth Dushantha discovered that UnRAR incorrectly handled ANSI escape sequences when writing screen output. If a user or automated system were tricked into processing a specially crafted RAR archive, a remote attacker could possibly use this issue to spoof screen output or cause a denial of service. (CVE-2024-33899)

osv:USN-7350-1

unrar-nonfree

Fixed versions: 1:5.6.6-2ubuntu0.1

unrar-nonfree

Fixed versions: 1:6.1.5-1ubuntu0.1

Complete source record
{
  "id": "f808a533a0305add627698271861179c034619e6d861af6db5fd77e2f9cb985b",
  "url": "https://osv.dev/vulnerability/USN-7350-1",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "unrar-nonfree vulnerabilities",
    "summary": "It was discovered that UnRAR incorrectly handled certain paths. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to write arbitrary files outside of the targeted directory. (CVE-2022-30333, CVE-2022-48579) It was discovered that UnRAR incorrectly handled certain recovery volumes. If a user or automated system were tricked into extracting a specially crafted RAR archive, a remote attacker could possibly use this issue to execute arbitrary code. (CVE-2023-40477) Siddharth Dushantha discovered that UnRAR incorrectly handled ANSI escape sequences when writing screen output. If a user or automated system were tricked into processing a specially crafted RAR archive, a remote attacker could possibly use this issue to spoof screen output or cause a denial of service. (CVE-2024-33899)",
    "evidence": "osv:USN-7350-1",
    "products": [
      {
        "name": {
          "value": "unrar-nonfree",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:5.6.6-2ubuntu0.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1:5.6.6-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1:5.6.6-2build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "unrar-nonfree",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:6.1.5-1ubuntu0.1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1:6.0.5-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:6.0.7-6",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:6.1.2-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:6.1.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:6.1.3-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:6.1.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1:6.1.5-1",
            "evidence": "/affected/1/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "USN-7350-1",
      "aliases": [
        "USN-7350-1"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:5.6.6-2ubuntu0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "unrar-nonfree",
            "purl": "pkg:deb/ubuntu/unrar-nonfree?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1:5.6.6-2",
            "1:5.6.6-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7350-1.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2022-30333",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "high"
                    }
                  ]
                },
                {
                  "id": "CVE-2022-48579",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                },
                {
                  "id": "CVE-2023-40477",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                },
                {
                  "id": "CVE-2024-33899",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:20.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libunrar5",
                "binary_version": "1:5.6.6-2ubuntu0.1"
              },
              {
                "binary_name": "unrar",
                "binary_version": "1:5.6.6-2ubuntu0.1"
              }
            ],
            "availability": "No subscription required"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:6.1.5-1ubuntu0.1"
                }
              ]
            }
          ],
          "package": {
            "name": "unrar-nonfree",
            "purl": "pkg:deb/ubuntu/unrar-nonfree?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1:6.0.5-1",
            "1:6.0.7-6",
            "1:6.1.2-1",
            "1:6.1.3-1",
            "1:6.1.3-2",
            "1:6.1.4-1",
            "1:6.1.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7350-1.json",
            "cves_map": {
              "cves": [
                {
                  "id": "CVE-2022-30333",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                    },
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "high"
                    }
                  ]
                },
                {
                  "id": "CVE-2022-48579",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                },
                {
                  "id": "CVE-2023-40477",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                },
                {
                  "id": "CVE-2024-33899",
                  "severity": [
                    {
                      "type": "CVSS_V3",
                      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"
                    },
                    {
                      "type": "Ubuntu",
                      "score": "medium"
                    }
                  ]
                }
              ],
              "ecosystem": "Ubuntu:22.04:LTS"
            }
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libunrar-headers",
                "binary_version": "1:6.1.5-1ubuntu0.1"
              },
              {
                "binary_name": "libunrar5",
                "binary_version": "1:6.1.5-1ubuntu0.1"
              },
              {
                "binary_name": "unrar",
                "binary_version": "1:6.1.5-1ubuntu0.1"
              }
            ],
            "availability": "No subscription required"
          }
        }
      ],
      "modified": "2026-10-27T04:15:48.830706740Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-30333",
        "CVE-2022-48579",
        "CVE-2023-40477",
        "CVE-2024-33899",
        "UBUNTU-CVE-2022-30333",
        "UBUNTU-CVE-2022-48579",
        "UBUNTU-CVE-2023-40477",
        "UBUNTU-CVE-2024-33899"
      ],
      "references": [
        "https://ubuntu.com/security/notices/USN-7350-1",
        "https://ubuntu.com/security/CVE-2022-30333",
        "https://ubuntu.com/security/CVE-2022-48579",
        "https://ubuntu.com/security/CVE-2023-40477",
        "https://ubuntu.com/security/CVE-2024-33899"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-30333",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2022-48579",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2023-40477",
        "evidence": "/upstream"
      },
      {
        "value": "CVE-2024-33899",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 460180,
  "published_at": "2025-03-12T16:19:29+00:00"
}