gsd-2023-2283
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signature` function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value `rc,` which is initialized to SSH_ERROR and later rewritten to save the return value of the function call `pki_key_check_hash_compatible.` The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls `goto error` returning SSH_OK.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2023-2283",
      id: "GSD-2023-2283",
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2023-2283",
         ],
         details: "A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signature` function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value `rc,` which is initialized to SSH_ERROR and later rewritten to save the return value of the function call `pki_key_check_hash_compatible.` The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls `goto error` returning SSH_OK.",
         id: "GSD-2023-2283",
         modified: "2023-12-13T01:20:32.118837Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "secalert@redhat.com",
            ID: "CVE-2023-2283",
            STATE: "PUBLIC",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "libssh",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "libssh-2",
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "n/a",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signature` function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value `rc,` which is initialized to SSH_ERROR and later rewritten to save the return value of the function call `pki_key_check_hash_compatible.` The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls `goto error` returning SSH_OK.",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        lang: "eng",
                        value: "CWE-287",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://access.redhat.com/security/cve/CVE-2023-2283",
                  refsource: "MISC",
                  url: "https://access.redhat.com/security/cve/CVE-2023-2283",
               },
               {
                  name: "https://www.libssh.org/security/advisories/CVE-2023-2283.txt",
                  refsource: "MISC",
                  url: "https://www.libssh.org/security/advisories/CVE-2023-2283.txt",
               },
               {
                  name: "https://bugzilla.redhat.com/show_bug.cgi?id=2189736",
                  refsource: "MISC",
                  url: "https://bugzilla.redhat.com/show_bug.cgi?id=2189736",
               },
               {
                  name: "FEDORA-2023-5fa5ca2043",
                  refsource: "FEDORA",
                  url: "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/",
               },
               {
                  name: "http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html",
                  refsource: "MISC",
                  url: "http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html",
               },
               {
                  name: "GLSA-202312-05",
                  refsource: "GENTOO",
                  url: "https://security.gentoo.org/glsa/202312-05",
               },
               {
                  name: "https://security.netapp.com/advisory/ntap-20240201-0005/",
                  refsource: "CONFIRM",
                  url: "https://security.netapp.com/advisory/ntap-20240201-0005/",
               },
            ],
         },
      },
      "nvd.nist.gov": {
         cve: {
            configurations: [
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*",
                              matchCriteriaId: "4ABFA49F-EB6C-45E4-8347-1E0A0FD65908",
                              versionEndIncluding: "0.9.6",
                              versionStartIncluding: "0.9.1",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*",
                              matchCriteriaId: "B02C8B4E-0AD2-44B9-B32A-21986D00F9F5",
                              versionEndIncluding: "0.10.4",
                              versionStartIncluding: "0.10.0",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
                              matchCriteriaId: "E30D0E6F-4AE8-4284-8716-991DFA48CC5D",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
                              matchCriteriaId: "F4CFF558-3C47-480D-A2F0-BABF26042943",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*",
                              matchCriteriaId: "7F6FB57C-2BC7-487C-96DD-132683AEB35D",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
            ],
            descriptions: [
               {
                  lang: "en",
                  value: "A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signature` function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value `rc,` which is initialized to SSH_ERROR and later rewritten to save the return value of the function call `pki_key_check_hash_compatible.` The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls `goto error` returning SSH_OK.",
               },
            ],
            id: "CVE-2023-2283",
            lastModified: "2024-02-01T17:15:08.197",
            metrics: {
               cvssMetricV31: [
                  {
                     cvssData: {
                        attackComplexity: "LOW",
                        attackVector: "NETWORK",
                        availabilityImpact: "NONE",
                        baseScore: 6.5,
                        baseSeverity: "MEDIUM",
                        confidentialityImpact: "LOW",
                        integrityImpact: "LOW",
                        privilegesRequired: "NONE",
                        scope: "UNCHANGED",
                        userInteraction: "NONE",
                        vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
                        version: "3.1",
                     },
                     exploitabilityScore: 3.9,
                     impactScore: 2.5,
                     source: "nvd@nist.gov",
                     type: "Primary",
                  },
               ],
            },
            published: "2023-05-26T18:15:13.770",
            references: [
               {
                  source: "secalert@redhat.com",
                  url: "http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Third Party Advisory",
                  ],
                  url: "https://access.redhat.com/security/cve/CVE-2023-2283",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Issue Tracking",
                     "Third Party Advisory",
                  ],
                  url: "https://bugzilla.redhat.com/show_bug.cgi?id=2189736",
               },
               {
                  source: "secalert@redhat.com",
                  url: "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/",
               },
               {
                  source: "secalert@redhat.com",
                  url: "https://security.gentoo.org/glsa/202312-05",
               },
               {
                  source: "secalert@redhat.com",
                  url: "https://security.netapp.com/advisory/ntap-20240201-0005/",
               },
               {
                  source: "secalert@redhat.com",
                  tags: [
                     "Vendor Advisory",
                  ],
                  url: "https://www.libssh.org/security/advisories/CVE-2023-2283.txt",
               },
            ],
            sourceIdentifier: "secalert@redhat.com",
            vulnStatus: "Modified",
            weaknesses: [
               {
                  description: [
                     {
                        lang: "en",
                        value: "CWE-287",
                     },
                  ],
                  source: "nvd@nist.gov",
                  type: "Primary",
               },
               {
                  description: [
                     {
                        lang: "en",
                        value: "CWE-287",
                     },
                  ],
                  source: "secalert@redhat.com",
                  type: "Secondary",
               },
            ],
         },
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.