ubuntu-cve-2023-40186
Vulnerability from osv_ubuntu
Published
2023-08-31 22:15
Modified
2026-04-22 07:45
Summary
Details

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an IntegerOverflow leading to Out-Of-Bound Write Vulnerability in the gdi_CreateSurface function. This issue affects FreeRDP based clients only. FreeRDP proxies are not affected as image decoding is not done by a proxy. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "freerdp2-shadow-x11",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "freerdp2-wayland",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "freerdp2-x11",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "libfreerdp-client2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "libfreerdp-server2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "libfreerdp-shadow-subsystem2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "libfreerdp-shadow2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "libfreerdp2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "libuwac0-0",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "libwinpr-tools2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "libwinpr2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          },
          {
            "binary_name": "winpr-utils",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "freerdp2",
        "purl": "pkg:deb/ubuntu/freerdp2@2.2.0+dfsg1-0ubuntu0.18.04.4+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.0+dfsg1-0ubuntu0.18.04.4+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.0~git20170725.1.1648deb+dfsg1-1",
        "2.0.0~git20170725.1.1648deb+dfsg1-5",
        "2.0.0~git20170725.1.1648deb+dfsg1-5ubuntu1",
        "2.0.0~git20170725.1.1648deb+dfsg1-5ubuntu2",
        "2.0.0~git20170725.1.1648deb+dfsg1-6",
        "2.0.0~git20170725.1.1648deb+dfsg1-6build1",
        "2.0.0~git20170725.1.1648deb+dfsg1-7",
        "2.0.0~git20170725.1.1648deb+dfsg1-7ubuntu0.1",
        "2.1.1+dfsg1-0ubuntu0.18.04.1",
        "2.2.0+dfsg1-0ubuntu0.18.04.1",
        "2.2.0+dfsg1-0ubuntu0.18.04.2",
        "2.2.0+dfsg1-0ubuntu0.18.04.3",
        "2.2.0+dfsg1-0ubuntu0.18.04.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "freerdp2-shadow-x11",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "freerdp2-wayland",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "freerdp2-x11",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "libfreerdp-client2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "libfreerdp-server2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "libfreerdp-shadow-subsystem2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "libfreerdp-shadow2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "libfreerdp2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "libuwac0-0",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "libwinpr-tools2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "libwinpr2-2",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          },
          {
            "binary_name": "winpr-utils",
            "binary_version": "2.2.0+dfsg1-0ubuntu0.20.04.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "freerdp2",
        "purl": "pkg:deb/ubuntu/freerdp2@2.2.0+dfsg1-0ubuntu0.20.04.5?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.0+dfsg1-0ubuntu0.20.04.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.0.0~git20190204.1.2693389a+dfsg1-1",
        "2.0.0~git20190204.1.2693389a+dfsg1-2",
        "2.0.0~git20190204.1.2693389a+dfsg1-2build1",
        "2.0.0~git20190204.1.2693389a+dfsg1-2build2",
        "2.1.1+dfsg1-0ubuntu0.20.04.1",
        "2.2.0+dfsg1-0ubuntu0.20.04.1",
        "2.2.0+dfsg1-0ubuntu0.20.04.2",
        "2.2.0+dfsg1-0ubuntu0.20.04.3",
        "2.2.0+dfsg1-0ubuntu0.20.04.4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "freerdp2-shadow-x11",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "freerdp2-wayland",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "freerdp2-x11",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "libfreerdp-client2-2",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "libfreerdp-server2-2",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "libfreerdp-shadow-subsystem2-2",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "libfreerdp-shadow2-2",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "libfreerdp2-2",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "libuwac0-0",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "libwinpr-tools2-2",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "libwinpr2-2",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          },
          {
            "binary_name": "winpr-utils",
            "binary_version": "2.6.1+dfsg1-3ubuntu2.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "freerdp2",
        "purl": "pkg:deb/ubuntu/freerdp2@2.6.1+dfsg1-3ubuntu2.4?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.6.1+dfsg1-3ubuntu2.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.3.0+dfsg1-2build1",
        "2.3.0+dfsg1-2ubuntu1",
        "2.3.0+dfsg1-2ubuntu2",
        "2.4.1+dfsg1-1",
        "2.4.1+dfsg1-1ubuntu1",
        "2.4.1+dfsg1-1ubuntu2",
        "2.5.0+dfsg1-1",
        "2.6.0+dfsg1-1",
        "2.6.1+dfsg1-1",
        "2.6.1+dfsg1-3",
        "2.6.1+dfsg1-3ubuntu1",
        "2.6.1+dfsg1-3ubuntu2",
        "2.6.1+dfsg1-3ubuntu2.1",
        "2.6.1+dfsg1-3ubuntu2.2",
        "2.6.1+dfsg1-3ubuntu2.3"
      ]
    }
  ],
  "aliases": [],
  "details": "FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an IntegerOverflow leading to Out-Of-Bound Write Vulnerability in the `gdi_CreateSurface` function. This issue affects FreeRDP based clients only. FreeRDP proxies are not affected as image decoding is not done by a proxy. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.",
  "id": "UBUNTU-CVE-2023-40186",
  "modified": "2026-04-22T07:45:26Z",
  "published": "2023-08-31T22:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-40186"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-hcj4-3c3r-5j3v"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/FreeRDP/FreeRDP/blob/fee2b10ba1154f952769a53eb608f044782e22f8/libfreerdp/gdi/gfx.c#L1156-L1165"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6401-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-40186"
    }
  ],
  "related": [
    "USN-6401-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": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-40186"
  ]
}



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…