Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-43338

Cesanta mjs v2.20.0 was discovered to contain a function pointer hijacking vulnerability via the function mjs_get_ptr(). This vulnerability allows attackers to execute arbitrary code via a crafted input.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-43338
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:47 UTC · Revision 1

Source evidence

CVE-2023-43338

core-osv · Original source

Published 22 Sept 2023, 00:00 UTC

Cesanta mjs v2.20.0 was discovered to contain a function pointer hijacking vulnerability via the function mjs_get_ptr(). This vulnerability allows attackers to execute arbitrary code via a crafted input.

osv:CVE-2023-43338
Complete source record
{
  "id": "56751349868cce2de16d5eec30bad429e01960995e85fb933d7d2e5e733ee58d",
  "url": "https://osv.dev/vulnerability/CVE-2023-43338",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-43338",
    "summary": "Cesanta mjs v2.20.0 was discovered to contain a function pointer hijacking vulnerability via the function mjs_get_ptr(). This vulnerability allows attackers to execute arbitrary code via a crafted input.",
    "evidence": "osv:CVE-2023-43338",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-43338",
      "aliases": [
        "CVE-2023-43338"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cesanta/mjs",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b1b6eac6b1e5b830a5cb14f8f4dc690ef3162551"
                },
                {
                  "last_affected": "b1b6eac6b1e5b830a5cb14f8f4dc690ef3162551"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cesanta:mjs:2.20.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.20.0"
                      },
                      {
                        "last_affected": "2.20.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.20.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-43338.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.829291008Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43338.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-43338",
        "https://github.com/cesanta/mjs/issues/250"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/43xxx/CVE-2023-43338.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-43338",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 496510,
  "published_at": "2023-09-22T00:00:00+00:00"
}