Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2022-1741

Active Moderate

ALAS2-2022-1741 (medium): openjpeg2

Published
20 Jan 2022
Updated
20 Jan 2022

Related CVEs

CVE identifiers linked by this publisher.

14
Publisher relationship details 14 records

Description

Division-by-zero vulnerabilities in the functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in openmj2/pi.c in OpenJPEG through 2.3.0 allow remote attackers to cause a denial of service (application crash). (CVE-2018-20845) An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG

Read full publisher description 3715 characters

Division-by-zero vulnerabilities in the functions pi_next_pcrl, pi_next_cprl, and pi_next_rpcl in openmj2/pi.c in OpenJPEG through 2.3.0 allow remote attackers to cause a denial of service (application crash). (CVE-2018-20845) An improper computation of p_tx0, p_tx1, p_ty0 and p_ty1 in the function opj_get_encoding_parameters in openjp2/pi.c in OpenJPEG through 2.3.0 can lead to an integer overflow. (CVE-2018-20847) In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file. (CVE-2018-5727) In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file. (CVE-2018-5785) In OpenJPEG 2.3.1, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file. This issue is similar to CVE-2018-6616. (CVE-2019-12973) jp2/opj_decompress.c in OpenJPEG through 2.3.1 has a use-after-free that can be triggered if there is a mix of valid and invalid files in a directory operated on by the decompressor. Triggering a double-free may also be possible. This is related to calling opj_image_destroy twice. (CVE-2020-15389) A heap-buffer overflow was found in the way openjpeg2 handled certain PNG format files. An attacker could use this flaw to cause an application crash or in some cases execute arbitrary code with the permission of the user running such an application. (CVE-2020-27814) A flaw was found in OpenJPEG's encoder. This flaw allows an attacker to pass specially crafted x,y offset input to OpenJPEG to use during encoding. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. (CVE-2020-27823) A flaw was found in OpenJPEG's encoder in the opj_dwt_calc_explicit_stepsizes() function. This flaw allows an attacker who can supply crafted input to decomposition levels to cause a buffer overflow. The highest threat from this vulnerability is to system availability. (CVE-2020-27824) A flaw was found in OpenJPEG's t2 encoder. This flaw allows an attacker who can provide crafted input to be processed by OpenJPEG to cause a NULL pointer dereference issue. The highest threat to this vulnerability is to system availability. (CVE-2020-27842) A flaw was found in OpenJPEG. This flaw allows an attacker to provide specially crafted input to the conversion or encoding functionality, causing an out-of-bounds read. The highest threat from this vulnerability is system availability. (CVE-2020-27843) A flaw was found in the src/lib/openjp2/pi.c function of OpenJPEG. This flaw allows an attacker who can provide untrusted input to OpenJPEG's conversion/encoding functionality to cause an out-of-bounds read. The highest impact from this vulnerability is to system availability. (CVE-2020-27845) There is a flaw in the opj2_compress program in openjpeg2. An attacker who is able to submit a large number of image files to be processed in a directory by opj2_compress, could trigger a heap out-of-bounds write due to an integer overflow, which is caused by the large number of image files. The greatest threat posed by this flaw is to confidentiality, integrity, and availability. (CVE-2021-29338) A heap-based buffer overflow was found in OpenJPEG. This flaw allows an attacker to execute arbitrary code with the permissions of the application compiled against OpenJPEG. (CVE-2021-3575)

Solution

Run yum update openjpeg2 or yum update --advisory ALAS2-2022-1741 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

5

Shared package data

Applies to all 5 occurrences
  1. 1openjpeg2

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • openjpeg2-2.4.0-4.amzn2.aarch64
    • openjpeg2-devel-2.4.0-4.amzn2.aarch64
    • openjpeg2-tools-2.4.0-4.amzn2.aarch64
    • openjpeg2-debuginfo-2.4.0-4.amzn2.aarch64
  2. 2openjpeg2

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • openjpeg2-2.4.0-4.amzn2.i686
    • openjpeg2-devel-2.4.0-4.amzn2.i686
    • openjpeg2-tools-2.4.0-4.amzn2.i686
    • openjpeg2-debuginfo-2.4.0-4.amzn2.i686
  3. 3openjpeg2

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • openjpeg2-devel-docs-2.4.0-4.amzn2.noarch
  4. 4openjpeg2

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • openjpeg2-2.4.0-4.amzn2.src
  5. 5openjpeg2

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • openjpeg2-2.4.0-4.amzn2.x86_64
    • openjpeg2-devel-2.4.0-4.amzn2.x86_64
    • openjpeg2-tools-2.4.0-4.amzn2.x86_64
    • openjpeg2-debuginfo-2.4.0-4.amzn2.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

28
  • CVE-2018-20845 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-20845
  • CVE-2018-20847 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-20847
  • CVE-2018-5727 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-5727
  • CVE-2018-5785 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-5785
  • CVE-2019-12973 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-12973
  • CVE-2020-15389 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-15389
  • CVE-2020-27814 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-27814
  • CVE-2020-27823 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-27823
  • CVE-2020-27824 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-27824
  • CVE-2020-27842 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-27842
  • CVE-2020-27843 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-27843
  • CVE-2020-27845 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2020-27845
  • CVE-2021-29338 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-29338
  • CVE-2021-3575 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-3575
  • CVE-2018-20845 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20845
  • CVE-2018-20847 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20847
  • CVE-2018-5727 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5727
  • CVE-2018-5785 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5785
  • CVE-2019-12973 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12973
  • CVE-2020-15389 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15389
  • CVE-2020-27814 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27814
  • CVE-2020-27823 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27823
  • CVE-2020-27824 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27824
  • CVE-2020-27842 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27842
  • CVE-2020-27843 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27843
  • CVE-2020-27845 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27845
  • CVE-2021-29338 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29338
  • CVE-2021-3575 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3575

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2022-1741.htmlUnknown792614ed82a201f7ee7ebe0dae980c346dc7597d840854650cab2528ea6f4047amazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1741.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2022-1741.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected