Skip to content
Heist/ feed
Back to feed
Critical

giac — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-7158

A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function slice_indices of the file objslice.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.22.0 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-249180.

Products
giac
Affected versions
1.2.3.57+dfsg1-2build1, 1.2.3.57+dfsg1-2build2, 1.2.3.57+dfsg1-2build3, 1.4.9.69+dfsg1-2build1, 1.5.0.85+dfsg1-2, 1.5.0.85+dfsg1-3, 1.6.0.41+dfsg1-1, 1.7.0.39+dfsg2-1build1, 1.7.0.39+dfsg2-1build2, 1.9.0.35+dfsg2-1.1, 1.9.0.59+dfsg2-1, 1.9.0.69+dfsg2-1, 1.9.0.93+dfsg2-2, 1.9.0.93+dfsg2-3build1, 1.9.0.93+dfsg2-3build2, 1.9.0.93+dfsg2-4
Fixed versions
Not specified
CVEs
CVE-2023-7158
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:11 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-7158

core-osv · Original source

Published 29 Dec 2023, 07:15 UTC

A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function slice_indices of the file objslice.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.22.0 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-249180.

osv:UBUNTU-CVE-2023-7158

giac

Fixed versions: Not specified

giac

Fixed versions: Not specified

giac

Fixed versions: Not specified

giac

Fixed versions: Not specified

giac

Fixed versions: Not specified

giac

Fixed versions: Not specified

giac

Fixed versions: Not specified

Complete source record
{
  "id": "00ba5e4b0f6fc859f6c5b87b466c07ff04de4d78332072268764396767e5e781",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-7158",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-7158",
    "summary": "A vulnerability was found in MicroPython up to 1.21.0. It has been classified as critical. Affected is the function slice_indices of the file objslice.c. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 1.22.0 is able to address this issue. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-249180.",
    "evidence": "osv:UBUNTU-CVE-2023-7158",
    "products": [
      {
        "name": {
          "value": "giac",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.3.57+dfsg1-2build1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.3.57+dfsg1-2build2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.3.57+dfsg1-2build3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "giac",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.4.9.69+dfsg1-2build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.0.85+dfsg1-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.5.0.85+dfsg1-3",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "giac",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.6.0.41+dfsg1-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.7.0.39+dfsg2-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.7.0.39+dfsg2-1build2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "giac",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.9.0.35+dfsg2-1.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.9.0.59+dfsg2-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.9.0.69+dfsg2-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.9.0.93+dfsg2-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "giac",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.9.0.93+dfsg2-3build1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "giac",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.9.0.93+dfsg2-3build2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.9.0.93+dfsg2-4",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "giac",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.9.0.93+dfsg2-3build1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.9.0.93+dfsg2-3build2",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2023-7158",
      "aliases": [
        "UBUNTU-CVE-2023-7158"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "giac",
            "purl": "pkg:deb/ubuntu/giac?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.2.3.57+dfsg1-2build1",
            "1.2.3.57+dfsg1-2build2",
            "1.2.3.57+dfsg1-2build3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgiac0",
                "binary_version": "1.2.3.57+dfsg1-2build3"
              },
              {
                "binary_name": "xcas",
                "binary_version": "1.2.3.57+dfsg1-2build3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "giac",
            "purl": "pkg:deb/ubuntu/giac?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.4.9.69+dfsg1-2build1",
            "1.5.0.85+dfsg1-2",
            "1.5.0.85+dfsg1-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgiac0",
                "binary_version": "1.5.0.85+dfsg1-3"
              },
              {
                "binary_name": "xcas",
                "binary_version": "1.5.0.85+dfsg1-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "giac",
            "purl": "pkg:deb/ubuntu/giac?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.6.0.41+dfsg1-1",
            "1.7.0.39+dfsg2-1build1",
            "1.7.0.39+dfsg2-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgiac0",
                "binary_version": "1.7.0.39+dfsg2-1build2"
              },
              {
                "binary_name": "xcas",
                "binary_version": "1.7.0.39+dfsg2-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "giac",
            "purl": "pkg:deb/ubuntu/giac?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.9.0.35+dfsg2-1.1",
            "1.9.0.59+dfsg2-1",
            "1.9.0.69+dfsg2-1",
            "1.9.0.93+dfsg2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgiac0t64",
                "binary_version": "1.9.0.93+dfsg2-2"
              },
              {
                "binary_name": "xcas",
                "binary_version": "1.9.0.93+dfsg2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "giac",
            "purl": "pkg:deb/ubuntu/giac?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.9.0.93+dfsg2-3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgiac0t64",
                "binary_version": "1.9.0.93+dfsg2-3build1"
              },
              {
                "binary_name": "xcas",
                "binary_version": "1.9.0.93+dfsg2-3build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "giac",
            "purl": "pkg:deb/ubuntu/giac?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.9.0.93+dfsg2-3build2",
            "1.9.0.93+dfsg2-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgiac0t64",
                "binary_version": "1.9.0.93+dfsg2-4"
              },
              {
                "binary_name": "xcas",
                "binary_version": "1.9.0.93+dfsg2-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "giac",
            "purl": "pkg:deb/ubuntu/giac?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.9.0.93+dfsg2-3build1",
            "1.9.0.93+dfsg2-3build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-7158.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libgiac0t64",
                "binary_version": "1.9.0.93+dfsg2-3build2"
              },
              {
                "binary_name": "xcas",
                "binary_version": "1.9.0.93+dfsg2-3build2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:43.062412029Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-7158"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-7158",
        "https://github.com/micropython/micropython/issues/13007",
        "https://github.com/micropython/micropython/pull/13039",
        "https://github.com/micropython/micropython/pull/13039/commits/f397a3ec318f3ad05aa287764ae7cef32202380f",
        "https://github.com/micropython/micropython/releases/tag/v1.22.0",
        "https://www.cve.org/CVERecord?id=CVE-2023-7158"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-7158",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 356038,
  "published_at": "2023-12-29T07:15:00+00:00"
}