ubuntu-cve-2022-30767
Vulnerability from osv_ubuntu
Published
2022-05-16 03:15
Modified
2025-10-24 04:53
Summary
Details

nfs_lookup_reply in net/nfs.c in Das U-Boot through 2022.04 (and through 2022.07-rc2) has an unbounded memcpy with a failed length check, leading to a buffer overflow. NOTE: this issue exists because of an incorrect fix for CVE-2019-14196.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "u-boot",
            "binary_version": "2016.01+dfsg1-2ubuntu5"
          },
          {
            "binary_name": "u-boot-exynos",
            "binary_version": "2016.01+dfsg1-2ubuntu5"
          },
          {
            "binary_name": "u-boot-imx",
            "binary_version": "2016.01+dfsg1-2ubuntu5"
          },
          {
            "binary_name": "u-boot-omap",
            "binary_version": "2016.01+dfsg1-2ubuntu5"
          },
          {
            "binary_name": "u-boot-rockchip",
            "binary_version": "2016.01+dfsg1-2ubuntu5"
          },
          {
            "binary_name": "u-boot-rpi",
            "binary_version": "2016.01+dfsg1-2ubuntu5"
          },
          {
            "binary_name": "u-boot-sunxi",
            "binary_version": "2016.01+dfsg1-2ubuntu5"
          },
          {
            "binary_name": "u-boot-tegra",
            "binary_version": "2016.01+dfsg1-2ubuntu5"
          },
          {
            "binary_name": "u-boot-tools",
            "binary_version": "2016.01+dfsg1-2ubuntu5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "u-boot",
        "purl": "pkg:deb/ubuntu/u-boot@2016.01+dfsg1-2ubuntu5?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2015.04+dfsg1-2ubuntu1",
        "2015.10+dfsg1-2",
        "2015.10+dfsg1-3",
        "2015.10+dfsg1-4",
        "2016.01+dfsg1-1",
        "2016.01+dfsg1-1ubuntu1",
        "2016.01+dfsg1-2ubuntu1",
        "2016.01+dfsg1-2ubuntu2",
        "2016.01+dfsg1-2ubuntu3",
        "2016.01+dfsg1-2ubuntu5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "u-boot",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-amlogic",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-exynos",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-imx",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-mvebu",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-omap",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-qcom",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-qemu",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-rockchip",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-rpi",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-sunxi",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-tegra",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          },
          {
            "binary_name": "u-boot-tools",
            "binary_version": "2020.10+dfsg-1ubuntu0~18.04.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "u-boot",
        "purl": "pkg:deb/ubuntu/u-boot@2020.10+dfsg-1ubuntu0~18.04.3?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2020.10+dfsg-1ubuntu0~18.04.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2016.03+dfsg1-6ubuntu2",
        "2018.07~rc3+dfsg1-0ubuntu1~18.04.1",
        "2018.07~rc3+dfsg1-0ubuntu2~18.04.1",
        "2018.07~rc3+dfsg1-0ubuntu3~18.04.1",
        "2019.07+dfsg-1ubuntu4~18.04.1",
        "2020.10+dfsg-1ubuntu0~18.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "u-boot",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-amlogic",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-exynos",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-imx",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-mvebu",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-omap",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-qcom",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-qemu",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-rockchip",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-rpi",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-sifive",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-sunxi",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-tegra",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          },
          {
            "binary_name": "u-boot-tools",
            "binary_version": "2021.01+dfsg-3ubuntu0~20.04.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "u-boot",
        "purl": "pkg:deb/ubuntu/u-boot@2021.01+dfsg-3ubuntu0~20.04.5?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2021.01+dfsg-3ubuntu0~20.04.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2019.07+dfsg-1ubuntu3",
        "2019.07+dfsg-1ubuntu5",
        "2019.07+dfsg-1ubuntu6",
        "2020.10+dfsg-1ubuntu0~20.04.2",
        "2021.01+dfsg-3ubuntu0~20.04.1",
        "2021.01+dfsg-3ubuntu0~20.04.3",
        "2021.01+dfsg-3ubuntu0~20.04.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "u-boot",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-amlogic",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-exynos",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-imx",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-microchip",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-mvebu",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-omap",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-qcom",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-qemu",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-rockchip",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-rpi",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-sifive",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-sunxi",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-tegra",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          },
          {
            "binary_name": "u-boot-tools",
            "binary_version": "2022.01+dfsg-2ubuntu2.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "u-boot",
        "purl": "pkg:deb/ubuntu/u-boot@2022.01+dfsg-2ubuntu2.3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2022.01+dfsg-2ubuntu2.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2021.07+dfsg-0ubuntu8",
        "2021.07+dfsg-0ubuntu9",
        "2021.07+dfsg-0ubuntu10",
        "2022.01+dfsg-2ubuntu1",
        "2022.01+dfsg-2ubuntu2",
        "2022.01+dfsg-2ubuntu2.1"
      ]
    }
  ],
  "aliases": [],
  "details": "nfs_lookup_reply in net/nfs.c in Das U-Boot through 2022.04 (and through 2022.07-rc2) has an unbounded memcpy with a failed length check, leading to a buffer overflow. NOTE: this issue exists because of an incorrect fix for CVE-2019-14196.",
  "id": "UBUNTU-CVE-2022-30767",
  "modified": "2025-10-24T04:53:40Z",
  "published": "2022-05-16T03:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-30767"
    },
    {
      "type": "REPORT",
      "url": "https://lists.denx.de/pipermail/u-boot/2022-May/483952.html"
    },
    {
      "type": "REPORT",
      "url": "https://securitylab.github.com/research/uboot-rce-nfs-vulnerability/"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5764-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2022-30767"
    }
  ],
  "related": [
    "USN-5764-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2022-30767"
  ]
}



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…