ubuntu-cve-2021-33657
Vulnerability from osv_ubuntu
Published
2022-04-01 23:15
Modified
2026-04-22 07:40
Summary
Details

There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP file, an attacker can cause the application using this library to crash, denial of service or Code execution.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libsdl1.2debian",
            "binary_version": "1.2.15-8ubuntu1.1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "libsdl1.2",
        "purl": "pkg:deb/ubuntu/libsdl1.2@1.2.15-8ubuntu1.1+esm2?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.15-8ubuntu1.1+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.15-5ubuntu2",
        "1.2.15-5ubuntu3",
        "1.2.15-8ubuntu1",
        "1.2.15-8ubuntu1.1",
        "1.2.15-8ubuntu1.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsdl2-2.0-0",
            "binary_version": "2.0.2+dfsg1-3ubuntu1.3+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "libsdl2",
        "purl": "pkg:deb/ubuntu/libsdl2@2.0.2+dfsg1-3ubuntu1.3+esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.0+dfsg1-2",
        "2.0.0+dfsg1-3",
        "2.0.1+dfsg1-1",
        "2.0.1+dfsg1-1ubuntu1",
        "2.0.2+dfsg1-3",
        "2.0.2+dfsg1-3ubuntu1",
        "2.0.2+dfsg1-3ubuntu1.1",
        "2.0.2+dfsg1-3ubuntu1.2",
        "2.0.2+dfsg1-3ubuntu1.3",
        "2.0.2+dfsg1-3ubuntu1.3+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libsdl1.2debian",
            "binary_version": "1.2.15+dfsg1-3ubuntu0.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "libsdl1.2",
        "purl": "pkg:deb/ubuntu/libsdl1.2@1.2.15+dfsg1-3ubuntu0.1+esm1?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.15+dfsg1-3ubuntu0.1+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.15-11ubuntu1",
        "1.2.15-12ubuntu1",
        "1.2.15+dfsg1-3",
        "1.2.15+dfsg1-3ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsdl2-2.0-0",
            "binary_version": "2.0.4+dfsg1-2ubuntu2.16.04.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "libsdl2",
        "purl": "pkg:deb/ubuntu/libsdl2@2.0.4+dfsg1-2ubuntu2.16.04.2?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.2+dfsg1-6ubuntu2",
        "2.0.4+dfsg1-2",
        "2.0.4+dfsg1-2ubuntu1",
        "2.0.4+dfsg1-2ubuntu2",
        "2.0.4+dfsg1-2ubuntu2.16.04.1",
        "2.0.4+dfsg1-2ubuntu2.16.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libsdl1.2debian",
            "binary_version": "1.2.15+dfsg2-0.1ubuntu0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "libsdl1.2",
        "purl": "pkg:deb/ubuntu/libsdl1.2@1.2.15+dfsg2-0.1ubuntu0.2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.2.15+dfsg2-0.1ubuntu0.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.15+dfsg2-0.1",
        "1.2.15+dfsg2-0.1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsdl2-2.0-0",
            "binary_version": "2.0.8+dfsg1-1ubuntu1.18.04.4+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "libsdl2",
        "purl": "pkg:deb/ubuntu/libsdl2@2.0.8+dfsg1-1ubuntu1.18.04.4+esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.6+dfsg1-3ubuntu1",
        "2.0.6+dfsg1-4ubuntu1",
        "2.0.7+dfsg1-3ubuntu1",
        "2.0.8+dfsg1-1ubuntu1",
        "2.0.8+dfsg1-1ubuntu1.18.04.1",
        "2.0.8+dfsg1-1ubuntu1.18.04.3",
        "2.0.8+dfsg1-1ubuntu1.18.04.4",
        "2.0.8+dfsg1-1ubuntu1.18.04.4+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsdl1.2debian",
            "binary_version": "1.2.15+dfsg2-5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "libsdl1.2",
        "purl": "pkg:deb/ubuntu/libsdl1.2@1.2.15+dfsg2-5?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.15+dfsg2-5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsdl2-2.0-0",
            "binary_version": "2.0.10+dfsg1-3ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "libsdl2",
        "purl": "pkg:deb/ubuntu/libsdl2@2.0.10+dfsg1-3ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.10+dfsg1-1ubuntu1",
        "2.0.10+dfsg1-1ubuntu4",
        "2.0.10+dfsg1-1ubuntu6",
        "2.0.10+dfsg1-1ubuntu7",
        "2.0.10+dfsg1-1ubuntu8",
        "2.0.10+dfsg1-2ubuntu5",
        "2.0.10+dfsg1-3",
        "2.0.10+dfsg1-3ubuntu0.1~esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libsdl1.2debian",
            "binary_version": "1.2.15+dfsg2-6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "libsdl1.2",
        "purl": "pkg:deb/ubuntu/libsdl1.2@1.2.15+dfsg2-6?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.2.15+dfsg2-6"
      ]
    }
  ],
  "aliases": [],
  "details": "There is a heap overflow problem in video/SDL_pixels.c in SDL (Simple DirectMedia Layer) 2.x to 2.0.18 versions. By crafting a malicious .BMP file, an attacker can cause the application using this library to crash, denial of service or Code execution.",
  "id": "UBUNTU-CVE-2021-33657",
  "modified": "2026-04-22T07:40:04Z",
  "published": "2022-04-01T23:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-33657"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/libsdl-org/SDL/commit/8c91cf7dba5193f5ce12d06db1336515851c9ee9"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5398-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-33657"
    }
  ],
  "related": [
    "USN-5398-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-33657"
  ]
}



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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…