Skip to content
Heist/ feed
Back to feed
HighFix available

grub2 — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-28733

Integer underflow in grub_net_recv_ip4_packets; A malicious crafted IP packet can lead to an integer underflow in grub_net_recv_ip4_packets() function on rsm->total_len value. Under certain circumstances the total_len value may end up wrapping around to a small integer number which will be used in memory allocation. If the attack succeeds in such way, subsequent operations can write past the end of the buffer.

Products
grub2
Affected versions
Not specified
Fixed versions
2.06-3
CVEs
CVE-2022-28733
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:48 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-28733

core-osv · Original source

Published 20 Jul 2023, 01:15 UTC

Integer underflow in grub_net_recv_ip4_packets; A malicious crafted IP packet can lead to an integer underflow in grub_net_recv_ip4_packets() function on rsm->total_len value. Under certain circumstances the total_len value may end up wrapping around to a small integer number which will be used in memory allocation. If the attack succeeds in such way, subsequent operations can write past the end of the buffer.

osv:DEBIAN-CVE-2022-28733

grub2

Fixed versions: 2.06-3

grub2

Fixed versions: 2.06-3

grub2

Fixed versions: 2.06-3

Complete source record
{
  "id": "cbf31bdbd2d727977e13ccbc2ec83c67a3a97242f7b79d4d00b12650be1723ac",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-28733",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-28733",
    "summary": "Integer underflow in grub_net_recv_ip4_packets; A malicious crafted IP packet can lead to an integer underflow in grub_net_recv_ip4_packets() function on rsm->total_len value. Under certain circumstances the total_len value may end up wrapping around to a small integer number which will be used in memory allocation. If the attack succeeds in such way, subsequent operations can write past the end of the buffer.",
    "evidence": "osv:DEBIAN-CVE-2022-28733",
    "products": [
      {
        "name": {
          "value": "grub2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.06-3",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "grub2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.06-3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "grub2",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.06-3",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-28733",
      "aliases": [
        "DEBIAN-CVE-2022-28733"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.06-3"
                }
              ]
            }
          ],
          "package": {
            "name": "grub2",
            "purl": "pkg:deb/debian/grub2?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-28733.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.06-3"
                }
              ]
            }
          ],
          "package": {
            "name": "grub2",
            "purl": "pkg:deb/debian/grub2?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-28733.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.06-3"
                }
              ]
            }
          ],
          "package": {
            "name": "grub2",
            "purl": "pkg:deb/debian/grub2?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-28733.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:23.832012506Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-28733"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-28733"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-28733",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323397,
  "published_at": "2023-07-20T01:15:10.14+00:00"
}