ubuntu-cve-2023-40548
Vulnerability from osv_ubuntu
Published
2024-01-23 00:00
Modified
2025-11-21 05:21
Summary
Details

A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "shim",
            "binary_version": "13-0ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "shim",
        "purl": "pkg:deb/ubuntu/shim@13-0ubuntu2?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.4-0ubuntu4",
        "0.8-0ubuntu2",
        "0.9+1474479173.6c180c6-1ubuntu1",
        "13-0ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "shim-signed",
            "binary_version": "1.33.1~14.04.5+13-0ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "shim-signed",
        "purl": "pkg:deb/ubuntu/shim-signed@1.33.1~14.04.5?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.3",
        "1.4",
        "1.5",
        "1.6",
        "1.9",
        "1.17~14.04.1",
        "1.18~14.04.1",
        "1.19~14.04.1",
        "1.32~14.04.2",
        "1.33.1~14.04.2",
        "1.33.1~14.04.3",
        "1.33.1~14.04.4",
        "1.33.1~14.04.5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "shim",
            "binary_version": "15.4-0ubuntu7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "shim",
        "purl": "pkg:deb/ubuntu/shim@15.4-0ubuntu7?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.8-0ubuntu2",
        "0.9+1474479173.6c180c6-1ubuntu1",
        "13-0ubuntu2",
        "15+1533136590.3beb971-0ubuntu1",
        "15+1552672080.a4a1fbe-0ubuntu2",
        "15.4-0ubuntu7"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "shim-signed",
            "binary_version": "1.33.1~16.04.10+15.4-0ubuntu7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "shim-signed",
        "purl": "pkg:deb/ubuntu/shim-signed@1.33.1~16.04.10?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.11",
        "1.12",
        "1.17~16.04.1",
        "1.18~16.04.1",
        "1.19~16.04.1",
        "1.27~16.04.1",
        "1.28~16.04.1",
        "1.32~16.04.1",
        "1.33.1~16.04.1",
        "1.33.1~16.04.2",
        "1.33.1~16.04.3",
        "1.33.1~16.04.4",
        "1.33.1~16.04.5",
        "1.33.1~16.04.6",
        "1.33.1~16.04.10"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "shim",
            "binary_version": "15.7-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "shim",
        "purl": "pkg:deb/ubuntu/shim@15.7-0ubuntu1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9+1474479173.6c180c6-1ubuntu1",
        "13-0ubuntu2",
        "15+1533136590.3beb971-0ubuntu1",
        "15+1552672080.a4a1fbe-0ubuntu2",
        "15.4-0ubuntu7",
        "15.4-0ubuntu9",
        "15.7-0ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "shim-signed",
            "binary_version": "1.37~18.04.13+15.7-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "shim-signed",
        "purl": "pkg:deb/ubuntu/shim-signed@1.37~18.04.13?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.32",
        "1.33.1",
        "1.34.4",
        "1.34.5",
        "1.34.6",
        "1.34.7",
        "1.34.8",
        "1.34.9",
        "1.34.9.1",
        "1.34.9.2",
        "1.37~18.04.1",
        "1.37~18.04.2",
        "1.37~18.04.3",
        "1.37~18.04.6",
        "1.37~18.04.8",
        "1.37~18.04.10",
        "1.37~18.04.11",
        "1.37~18.04.13"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "shim",
            "binary_version": "15.8-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "shim",
        "purl": "pkg:deb/ubuntu/shim@15.8-0ubuntu1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "15.8-0ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "15+1533136590.3beb971-0ubuntu1",
        "15+1552672080.a4a1fbe-0ubuntu1",
        "15+1552672080.a4a1fbe-0ubuntu2",
        "15.4-0ubuntu7",
        "15.4-0ubuntu9",
        "15.7-0ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "shim-signed",
            "binary_version": "1.40.10+15.8-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "shim-signed",
        "purl": "pkg:deb/ubuntu/shim-signed@1.40.10?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.40.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.39",
        "1.40",
        "1.40.3",
        "1.40.4",
        "1.40.6",
        "1.40.7",
        "1.40.9"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "shim",
            "binary_version": "15.8-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "shim",
        "purl": "pkg:deb/ubuntu/shim@15.8-0ubuntu1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "15.8-0ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "15.4-0ubuntu9",
        "15.7-0ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "shim-signed",
            "binary_version": "1.51.4+15.8-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "shim-signed",
        "purl": "pkg:deb/ubuntu/shim-signed@1.51.4?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.51.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.51",
        "1.51.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "shim",
            "binary_version": "15.8-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "shim",
        "purl": "pkg:deb/ubuntu/shim@15.8-0ubuntu1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "15.8-0ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "15.7-0ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "shim-signed",
            "binary_version": "1.58+15.8-0ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "shim-signed",
        "purl": "pkg:deb/ubuntu/shim-signed@1.58?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.58"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.56",
        "1.57"
      ]
    }
  ],
  "aliases": [],
  "details": "A buffer overflow was found in Shim in the 32-bit system. The overflow happens due to an addition operation involving a user-controlled value parsed from the PE binary being used by Shim. This value is further used for memory allocation operations, leading to a heap-based buffer overflow. This flaw causes memory corruption and can lead to a crash or data integrity issues during the boot phase.",
  "id": "UBUNTU-CVE-2023-40548",
  "modified": "2025-11-21T05:21:35Z",
  "published": "2024-01-23T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-40548"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-40548"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-40548"
  ]
}



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…