Monday, November 4, 2024

[USN-7083-1] OpenJPEG vulnerabilities

-----BEGIN PGP SIGNATURE-----

wsD5BAABCAAjFiEEkd98mdFcnQdP7vQkuGrtzot7pOcFAmcpeocFAwAAAAAACgkQuGrtzot7pOeD
Ogv/XS4ZmFdLjP7xAtd+o5mmc4NivaYrVleqMKbj73NL8wu2ZXCieNd/GGAN73zjZmCUzhDt8PMX
3RD/MVs8Qlv4EQ34jUwtD17HWRoIethcycf/2qEXQ9CoAcxcn4mvhOKA3WJuUp9+IsLZB51zPUus
xz3gGW/Kb/C63FthinsycGR+VOLqGQVfelhPYl32olUfN3lLhZ2qwtl6OmHiolQecOeWOb0APRcp
k4t4fyIQaCOX3H2hDGAMql2EMQrQmfuFjD2pGDrvhR6WMCta9WSKvd0HsHMJiRF62RLcfiPAuV9p
HQVfayuP2ZbgoTzoBWpWHS/lbuC6/K1l8seTsKumNTWgmCOkMEUZuJFGh44Uw8XwUHKQFl60AmqN
940OZx1JKpJDUhB0p9L/jo5NpQRmO2TeJmgFLWOG7sh+cg5ldbIUOmkwDH6Oy2i0vXqspnCMmMkI
o0U88Uv36bWmaF68EUKWlJIPo1UIOKigOqSmA43pbInfWOPAGr+mGASbXCDW
=qa/C
-----END PGP SIGNATURE-----
==========================================================================
Ubuntu Security Notice USN-7083-1
November 05, 2024

openjpeg2 vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 24.10
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS

Summary:

Several security issues were fixed in OpenJPEG.

Software Description:
- openjpeg2: JPEG 2000 image compression/decompression library

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)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 24.10
  libopenjp2-7                    2.5.0-2ubuntu1.1
  libopenjpip7                    2.5.0-2ubuntu1.1

Ubuntu 24.04 LTS
  libopenjp2-7                    2.5.0-2ubuntu0.2
  libopenjpip7                    2.5.0-2ubuntu0.2

Ubuntu 22.04 LTS
  libopenjp2-7                    2.4.0-6ubuntu0.2
  libopenjp3d7                    2.4.0-6ubuntu0.2
  libopenjpip7                    2.4.0-6ubuntu0.2

Ubuntu 20.04 LTS
  libopenjp2-7                    2.3.1-1ubuntu4.20.04.3
  libopenjp3d7                    2.3.1-1ubuntu4.20.04.3
  libopenjpip7                    2.3.1-1ubuntu4.20.04.3

Ubuntu 18.04 LTS
  libopenjp2-7                    2.3.0-2+deb10u2ubuntu0.1~esm3
                                  Available with Ubuntu Pro
  libopenjp3d7                    2.3.0-2+deb10u2ubuntu0.1~esm3
                                  Available with Ubuntu Pro
  libopenjpip7                    2.3.0-2+deb10u2ubuntu0.1~esm3
                                  Available with Ubuntu Pro

Ubuntu 16.04 LTS
  libopenjp2-7                    2.1.2-1.1+deb9u6ubuntu0.1~esm6
                                  Available with Ubuntu Pro
  libopenjp3d7                    2.1.2-1.1+deb9u6ubuntu0.1~esm6
                                  Available with Ubuntu Pro
  libopenjpip7                    2.1.2-1.1+deb9u6ubuntu0.1~esm6
                                  Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References:
  https://ubuntu.com/security/notices/USN-7083-1
  CVE-2021-29338, CVE-2021-3575, CVE-2022-1122

Package Information:
  https://launchpad.net/ubuntu/+source/openjpeg2/2.5.0-2ubuntu1.1
  https://launchpad.net/ubuntu/+source/openjpeg2/2.5.0-2ubuntu0.2
  https://launchpad.net/ubuntu/+source/openjpeg2/2.4.0-6ubuntu0.2
https://launchpad.net/ubuntu/+source/openjpeg2/2.3.1-1ubuntu4.20.04.3

No comments:

Post a Comment