cve-2022-0982
Vulnerability from cvelistv5
Published
2022-03-16 14:04
Modified
2024-09-17 04:20
Severity ?
Summary
The telnet_input_char function in opt/src/accel-pppd/cli/telnet.c suffers from a memory corruption vulnerability, whereby user input cmdline_len is copied into a fixed buffer b->buf without any bound checks. If the server connects with a malicious client, crafted client requests can remotely trigger this vulnerability.
Impacted products
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2024-08-02T23:47:42.845Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_refsource_MISC",
                     "x_transferred",
                  ],
                  url: "https://github.com/xebd/accel-ppp/issues/164",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               product: "Accel-PPP",
               vendor: "https://accel-ppp.org/",
               versions: [
                  {
                     lessThanOrEqual: "1.12",
                     status: "affected",
                     version: "1.12",
                     versionType: "custom",
                  },
               ],
            },
         ],
         credits: [
            {
               lang: "en",
               value: "Chloe Ong from Government Technology Agency of Singapore",
            },
            {
               lang: "en",
               value: "Eugene Lim from Government Technology Agency of Singapore",
            },
         ],
         datePublic: "2022-03-15T00:00:00",
         descriptions: [
            {
               lang: "en",
               value: "The telnet_input_char function in opt/src/accel-pppd/cli/telnet.c suffers from a memory corruption vulnerability, whereby user input cmdline_len is copied into a fixed buffer b->buf without any bound checks. If the server connects with a malicious client, crafted client requests can remotely trigger this vulnerability.",
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     description: "https://cwe.mitre.org/data/definitions/120.html",
                     lang: "en",
                     type: "text",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2022-03-16T14:04:22",
            orgId: "1a37b84a-8e51-4525-b3d6-87e2fae01dbd",
            shortName: "GovTech CSG",
         },
         references: [
            {
               tags: [
                  "x_refsource_MISC",
               ],
               url: "https://github.com/xebd/accel-ppp/issues/164",
            },
         ],
         source: {
            discovery: "EXTERNAL",
         },
         title: "Buffer Overflow via crafted client request in Accel-PPP v1.12",
         x_generator: {
            engine: "Vulnogram 0.0.9",
         },
         x_legacyV4Record: {
            CVE_data_meta: {
               ASSIGNER: "cve_disclosure@tech.gov.sg",
               DATE_PUBLIC: "2022-03-15T09:32:00.000Z",
               ID: "CVE-2022-0982",
               STATE: "PUBLIC",
               TITLE: "Buffer Overflow via crafted client request in Accel-PPP v1.12",
            },
            affects: {
               vendor: {
                  vendor_data: [
                     {
                        product: {
                           product_data: [
                              {
                                 product_name: "Accel-PPP",
                                 version: {
                                    version_data: [
                                       {
                                          version_affected: "<=",
                                          version_name: "1.12",
                                          version_value: "1.12",
                                       },
                                    ],
                                 },
                              },
                           ],
                        },
                        vendor_name: "https://accel-ppp.org/",
                     },
                  ],
               },
            },
            credit: [
               {
                  lang: "eng",
                  value: "Chloe Ong from Government Technology Agency of Singapore",
               },
               {
                  lang: "eng",
                  value: "Eugene Lim from Government Technology Agency of Singapore",
               },
            ],
            data_format: "MITRE",
            data_type: "CVE",
            data_version: "4.0",
            description: {
               description_data: [
                  {
                     lang: "eng",
                     value: "The telnet_input_char function in opt/src/accel-pppd/cli/telnet.c suffers from a memory corruption vulnerability, whereby user input cmdline_len is copied into a fixed buffer b->buf without any bound checks. If the server connects with a malicious client, crafted client requests can remotely trigger this vulnerability.",
                  },
               ],
            },
            generator: {
               engine: "Vulnogram 0.0.9",
            },
            problemtype: {
               problemtype_data: [
                  {
                     description: [
                        {
                           lang: "eng",
                           value: "https://cwe.mitre.org/data/definitions/120.html",
                        },
                     ],
                  },
               ],
            },
            references: {
               reference_data: [
                  {
                     name: "https://github.com/xebd/accel-ppp/issues/164",
                     refsource: "MISC",
                     url: "https://github.com/xebd/accel-ppp/issues/164",
                  },
               ],
            },
            source: {
               discovery: "EXTERNAL",
            },
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "1a37b84a-8e51-4525-b3d6-87e2fae01dbd",
      assignerShortName: "GovTech CSG",
      cveId: "CVE-2022-0982",
      datePublished: "2022-03-16T14:04:22.485737Z",
      dateReserved: "2022-03-15T00:00:00",
      dateUpdated: "2024-09-17T04:20:24.462Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2022-0982\",\"sourceIdentifier\":\"cve_disclosure@tech.gov.sg\",\"published\":\"2022-03-16T15:15:16.253\",\"lastModified\":\"2024-11-21T06:39:47.683\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"The telnet_input_char function in opt/src/accel-pppd/cli/telnet.c suffers from a memory corruption vulnerability, whereby user input cmdline_len is copied into a fixed buffer b->buf without any bound checks. If the server connects with a malicious client, crafted client requests can remotely trigger this vulnerability.\"},{\"lang\":\"es\",\"value\":\"La función telnet_input_char en el archivo opt/src/accel-pppd/cli/telnet.c sufre una vulnerabilidad de corrupción de memoria, por la que la entrada del usuario cmdline_len es copiada en un búfer fijo b-)buf sin ninguna comprobación de límites. Si el servidor es conectado con un cliente malicioso, las peticiones diseñadas del cliente pueden desencadenar esta vulnerabilidad de forma remota\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"baseScore\":7.5,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-787\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:accel-ppp:accel-ppp:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"1.12.0\",\"matchCriteriaId\":\"CB0C5840-2CCB-4241-8AD3-F3A591D314AA\"}]}]}],\"references\":[{\"url\":\"https://github.com/xebd/accel-ppp/issues/164\",\"source\":\"cve_disclosure@tech.gov.sg\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/xebd/accel-ppp/issues/164\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]}]}}",
   },
}


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.