Skip to content
Heist/ feed
Back to feed
High

0ad — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-40281

An issue was discovered in Samsung TizenRT through 3.0_GBM (and 3.1_PRE). cyassl_connect_step2 in curl/vtls/cyassl.c has a missing X509_free after SSL_get_peer_certificate, leading to information disclosure.

Products
0ad
Affected versions
0.0.18-2, 0.0.19-1, 0.0.20-1, 0.0.21-2, 0.0.22-1, 0.0.22-2, 0.0.22-3, 0.0.22-3.1, 0.0.22-3build1, 0.0.22-4, 0.0.23.1-4build1, 0.0.23.1-4ubuntu1, 0.0.23.1-4ubuntu2, 0.0.23.1-4ubuntu3, 0.0.25b-1, 0.0.25b-1.1, 0.0.25b-1.1ubuntu1, 0.0.25b-2, 0.0.26-4, 0.0.26-4build1, 0.0.26-6ubuntu0.24.04.1, 0.27.0-2, 0.27.0-2build1, 0.27.1-2, 0.27.1-3, 0.27.1-3build1, 0.27.1-3build2, 0.28.0-1, 0.28.0-3, 0.28.0-3build1
Fixed versions
Not specified
CVEs
CVE-2022-40281
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:43 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-40281

core-osv · Original source

Published 8 Sept 2022, 22:15 UTC

An issue was discovered in Samsung TizenRT through 3.0_GBM (and 3.1_PRE). cyassl_connect_step2 in curl/vtls/cyassl.c has a missing X509_free after SSL_get_peer_certificate, leading to information disclosure.

osv:UBUNTU-CVE-2022-40281

0ad

Fixed versions: Not specified

0ad

Fixed versions: Not specified

0ad

Fixed versions: Not specified

0ad

Fixed versions: Not specified

0ad

Fixed versions: Not specified

0ad

Fixed versions: Not specified

0ad

Fixed versions: Not specified

0ad

Fixed versions: Not specified

Complete source record
{
  "id": "5dd0b61e489ec2d567d530abf764513feb59d22a6b2d66be7ec6249f8137d5c7",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-40281",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-40281",
    "summary": "An issue was discovered in Samsung TizenRT through 3.0_GBM (and 3.1_PRE). cyassl_connect_step2 in curl/vtls/cyassl.c has a missing X509_free after SSL_get_peer_certificate, leading to information disclosure.",
    "evidence": "osv:UBUNTU-CVE-2022-40281",
    "products": [
      {
        "name": {
          "value": "0ad",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0.18-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.19-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.20-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "0ad",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0.21-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.0.22-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.0.22-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.0.22-3",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.0.22-3build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.0.22-3.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.0.22-4",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "0ad",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0.23.1-4build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.0.23.1-4ubuntu1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.0.23.1-4ubuntu2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.0.23.1-4ubuntu3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "0ad",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0.25b-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.0.25b-1.1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.0.25b-1.1ubuntu1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "0.0.25b-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "0ad",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.0.26-4",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.0.26-4build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "0.0.26-6ubuntu0.24.04.1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "0ad",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.27.0-2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.27.0-2build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.27.1-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "0ad",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.28.0-3",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "0.28.0-3build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "0ad",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.27.1-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "0.27.1-3",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "0.27.1-3build1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "0.27.1-3build2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "0.28.0-1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "0.28.0-3",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2022-40281",
      "aliases": [
        "UBUNTU-CVE-2022-40281"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "low"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "0ad",
            "purl": "pkg:deb/ubuntu/0ad?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "0.0.18-2",
            "0.0.19-1",
            "0.0.20-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40281.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "0ad",
                "binary_version": "0.0.20-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "0ad",
            "purl": "pkg:deb/ubuntu/0ad?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "0.0.21-2",
            "0.0.22-1",
            "0.0.22-2",
            "0.0.22-3",
            "0.0.22-3build1",
            "0.0.22-3.1",
            "0.0.22-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40281.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "0ad",
                "binary_version": "0.0.22-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "0ad",
            "purl": "pkg:deb/ubuntu/0ad?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.0.23.1-4build1",
            "0.0.23.1-4ubuntu1",
            "0.0.23.1-4ubuntu2",
            "0.0.23.1-4ubuntu3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40281.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "0ad",
                "binary_version": "0.0.23.1-4ubuntu3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "0ad",
            "purl": "pkg:deb/ubuntu/0ad?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.0.25b-1",
            "0.0.25b-1.1",
            "0.0.25b-1.1ubuntu1",
            "0.0.25b-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40281.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "0ad",
                "binary_version": "0.0.25b-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "0ad",
            "purl": "pkg:deb/ubuntu/0ad?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.0.26-4",
            "0.0.26-4build1",
            "0.0.26-6ubuntu0.24.04.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40281.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "0ad",
                "binary_version": "0.0.26-6ubuntu0.24.04.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "0ad",
            "purl": "pkg:deb/ubuntu/0ad?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.27.0-2",
            "0.27.0-2build1",
            "0.27.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40281.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "0ad",
                "binary_version": "0.27.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "0ad",
            "purl": "pkg:deb/ubuntu/0ad?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.28.0-3",
            "0.28.0-3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40281.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "0ad",
                "binary_version": "0.28.0-3build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "0ad",
            "purl": "pkg:deb/ubuntu/0ad?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.27.1-2",
            "0.27.1-3",
            "0.27.1-3build1",
            "0.27.1-3build2",
            "0.28.0-1",
            "0.28.0-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-40281.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "0ad",
                "binary_version": "0.28.0-3"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:59.207051280Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-40281"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-40281",
        "https://github.com/Samsung/TizenRT/issues/5626",
        "https://www.openssl.org/docs/man1.1.1/man3/SSL_get_peer_certificate.html",
        "https://github.com/Samsung/TizenRT/blob/f8f776dd183246ad8890422c1ee5e8f33ab2aaaf/external/curl/vtls/cyassl.c#L545",
        "https://www.cve.org/CVERecord?id=CVE-2022-40281"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-40281",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354473,
  "published_at": "2022-09-08T22:15:00+00:00"
}