USN-7083-1 (UBUNTU-CVE-2021-3575)

Vulnerability from osv_ubuntu – Published: 2024-11-05 00:59 – Updated: 2026-06-25 10:46 – Source website
VLAI
Summary
openjpeg2 vulnerabilities
Details

It was discovered that OpenJPEG incorrectly handled certain memory operations when using the command line "-ImgDir" in a directory with a large number of files, leading to an integer overflow vulnerability. An attacker could potentially use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2021-29338)

It was discovered that OpenJPEG incorrectly handled decompressing certain .j2k files in sycc420_to_rgb, leading to a heap-based buffer overflow vulnerability. 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. (CVE-2021-3575)

It was discovered that OpenJPEG incorrectly handled certain memory operations in the opj2_decompress program. An attacker could potentially use this issue to cause a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-1122)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-3575",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-29338",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-1122",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:16.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libopenjp2-7",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm6"
          },
          {
            "binary_name": "libopenjp2-tools",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm6"
          },
          {
            "binary_name": "libopenjp3d-tools",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm6"
          },
          {
            "binary_name": "libopenjp3d7",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm6"
          },
          {
            "binary_name": "libopenjpip-dec-server",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm6"
          },
          {
            "binary_name": "libopenjpip-server",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm6"
          },
          {
            "binary_name": "libopenjpip-viewer",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm6"
          },
          {
            "binary_name": "libopenjpip7",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "openjpeg2",
        "purl": "pkg:deb/ubuntu/openjpeg2@2.1.2-1.1+deb9u6ubuntu0.1~esm6?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.2-1.1+deb9u6ubuntu0.1~esm6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.1.0-2.1",
        "2.1.0-2.1ubuntu0.1",
        "2.1.2-1.1+deb9u2build0.1",
        "2.1.2-1.1+deb9u3build0.16.04.1",
        "2.1.2-1.1+deb9u3ubuntu0.1~esm1",
        "2.1.2-1.1+deb9u5build0.16.04.1",
        "2.1.2-1.1+deb9u5ubuntu0.1~esm1",
        "2.1.2-1.1+deb9u6build0.16.04.1",
        "2.1.2-1.1+deb9u6ubuntu0.1~esm1",
        "2.1.2-1.1+deb9u6ubuntu0.1~esm3",
        "2.1.2-1.1+deb9u6ubuntu0.1~esm4"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-3575",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-29338",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-1122",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:Pro:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libopenjp2-7",
            "binary_version": "2.3.0-2+deb10u2ubuntu0.1~esm3"
          },
          {
            "binary_name": "libopenjp2-tools",
            "binary_version": "2.3.0-2+deb10u2ubuntu0.1~esm3"
          },
          {
            "binary_name": "libopenjp3d-tools",
            "binary_version": "2.3.0-2+deb10u2ubuntu0.1~esm3"
          },
          {
            "binary_name": "libopenjp3d7",
            "binary_version": "2.3.0-2+deb10u2ubuntu0.1~esm3"
          },
          {
            "binary_name": "libopenjpip-dec-server",
            "binary_version": "2.3.0-2+deb10u2ubuntu0.1~esm3"
          },
          {
            "binary_name": "libopenjpip-server",
            "binary_version": "2.3.0-2+deb10u2ubuntu0.1~esm3"
          },
          {
            "binary_name": "libopenjpip-viewer",
            "binary_version": "2.3.0-2+deb10u2ubuntu0.1~esm3"
          },
          {
            "binary_name": "libopenjpip7",
            "binary_version": "2.3.0-2+deb10u2ubuntu0.1~esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "openjpeg2",
        "purl": "pkg:deb/ubuntu/openjpeg2@2.3.0-2+deb10u2ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.0-2+deb10u2ubuntu0.1~esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.2.0-1",
        "2.3.0-1",
        "2.3.0-2build0.18.04.1",
        "2.3.0-2ubuntu0.1~esm1",
        "2.3.0-2+deb10u2build0.18.04.1",
        "2.3.0-2+deb10u2ubuntu0.1~esm1",
        "2.3.0-2+deb10u2ubuntu0.1~esm2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-3575",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-29338",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-1122",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libopenjp2-7",
            "binary_version": "2.3.1-1ubuntu4.20.04.3"
          },
          {
            "binary_name": "libopenjp2-tools",
            "binary_version": "2.3.1-1ubuntu4.20.04.3"
          },
          {
            "binary_name": "libopenjp3d-tools",
            "binary_version": "2.3.1-1ubuntu4.20.04.3"
          },
          {
            "binary_name": "libopenjp3d7",
            "binary_version": "2.3.1-1ubuntu4.20.04.3"
          },
          {
            "binary_name": "libopenjpip-dec-server",
            "binary_version": "2.3.1-1ubuntu4.20.04.3"
          },
          {
            "binary_name": "libopenjpip-server",
            "binary_version": "2.3.1-1ubuntu4.20.04.3"
          },
          {
            "binary_name": "libopenjpip-viewer",
            "binary_version": "2.3.1-1ubuntu4.20.04.3"
          },
          {
            "binary_name": "libopenjpip7",
            "binary_version": "2.3.1-1ubuntu4.20.04.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "openjpeg2",
        "purl": "pkg:deb/ubuntu/openjpeg2@2.3.1-1ubuntu4.20.04.3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.1-1ubuntu4.20.04.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.3.0-2",
        "2.3.0-2build1",
        "2.3.1-1",
        "2.3.1-1ubuntu3",
        "2.3.1-1ubuntu4",
        "2.3.1-1ubuntu4.20.04.1",
        "2.3.1-1ubuntu4.20.04.2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-3575",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-29338",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-1122",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libopenjp2-7",
            "binary_version": "2.4.0-6ubuntu0.2"
          },
          {
            "binary_name": "libopenjp2-tools",
            "binary_version": "2.4.0-6ubuntu0.2"
          },
          {
            "binary_name": "libopenjp3d-tools",
            "binary_version": "2.4.0-6ubuntu0.2"
          },
          {
            "binary_name": "libopenjp3d7",
            "binary_version": "2.4.0-6ubuntu0.2"
          },
          {
            "binary_name": "libopenjpip-dec-server",
            "binary_version": "2.4.0-6ubuntu0.2"
          },
          {
            "binary_name": "libopenjpip-server",
            "binary_version": "2.4.0-6ubuntu0.2"
          },
          {
            "binary_name": "libopenjpip-viewer",
            "binary_version": "2.4.0-6ubuntu0.2"
          },
          {
            "binary_name": "libopenjpip7",
            "binary_version": "2.4.0-6ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "openjpeg2",
        "purl": "pkg:deb/ubuntu/openjpeg2@2.4.0-6ubuntu0.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.0-6ubuntu0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.3.1-1ubuntu5",
        "2.3.1-1ubuntu6",
        "2.4.0-3",
        "2.4.0-5",
        "2.4.0-6",
        "2.4.0-6ubuntu0.1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2021-3575",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libopenjp2-7",
            "binary_version": "2.5.0-2ubuntu0.2"
          },
          {
            "binary_name": "libopenjp2-tools",
            "binary_version": "2.5.0-2ubuntu0.2"
          },
          {
            "binary_name": "libopenjpip-dec-server",
            "binary_version": "2.5.0-2ubuntu0.2"
          },
          {
            "binary_name": "libopenjpip-server",
            "binary_version": "2.5.0-2ubuntu0.2"
          },
          {
            "binary_name": "libopenjpip-viewer",
            "binary_version": "2.5.0-2ubuntu0.2"
          },
          {
            "binary_name": "libopenjpip7",
            "binary_version": "2.5.0-2ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "openjpeg2",
        "purl": "pkg:deb/ubuntu/openjpeg2@2.5.0-2ubuntu0.2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.5.0-2ubuntu0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.5.0-2",
        "2.5.0-2build2",
        "2.5.0-2build3",
        "2.5.0-2ubuntu0.1"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that OpenJPEG incorrectly handled certain memory\noperations when using the command line \"-ImgDir\" in a directory with a\nlarge number of files, leading to an integer overflow vulnerability. An\nattacker could potentially use this issue to cause a denial of service.\nThis issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,\nUbuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2021-29338)\n\nIt was discovered that OpenJPEG incorrectly handled decompressing certain\n.j2k files in sycc420_to_rgb, leading to a heap-based buffer overflow\nvulnerability. If a user or automated system were tricked into opening\na specially crafted file, an attacker could possibly use this issue to\nexecute arbitrary code. (CVE-2021-3575)\n\nIt was discovered that OpenJPEG incorrectly handled certain memory\noperations in the opj2_decompress program. An attacker could potentially\nuse this issue to cause a denial of service. This issue only affected\nUbuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS.\n(CVE-2022-1122)\n",
  "id": "USN-7083-1",
  "modified": "2026-06-25T10:46:31Z",
  "published": "2024-11-05T00:59:06Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7083-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-3575"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-29338"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-1122"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "openjpeg2 vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2021-3575",
    "UBUNTU-CVE-2021-29338",
    "UBUNTU-CVE-2022-1122"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…