Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-45158

An OS command injection vulnerability exists in web2py 2.24.1 and earlier. When the product is configured to use notifySendHandler for logging (not the default configuration), a crafted web request may execute an arbitrary OS command on the web server using the product.

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

Source evidence

CVE-2023-45158

core-osv · Original source

Published 16 Oct 2023, 07:53 UTC

An OS command injection vulnerability exists in web2py 2.24.1 and earlier. When the product is configured to use notifySendHandler for logging (not the default configuration), a crafted web request may execute an arbitrary OS command on the web server using the product.

osv:CVE-2023-45158
Complete source record
{
  "id": "c7f9da9ac5ff96dc61c03c6025944f1822f0ccea1550018fa6053b9001b51ac0",
  "url": "https://osv.dev/vulnerability/CVE-2023-45158",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-45158",
    "summary": "An OS command injection vulnerability exists in web2py 2.24.1 and earlier. When the product is configured to use notifySendHandler for logging (not the default configuration), a crafted web request may execute an arbitrary OS command on the web server using the product.",
    "evidence": "osv:CVE-2023-45158",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-45158",
      "aliases": [
        "CVE-2023-45158"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/web2py/web2py",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "936e2260b0c34c44e2f3674a893e96d2a7fad0a3"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:web2py:web2py:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.24.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "936e2260b0c34c44e2f3674a893e96d2a7fad0a3"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.24.1",
            "v2.23.0",
            "v2.22.5",
            "R-2.22.4",
            "v2.22.3",
            "v2.22.2",
            "v2.22.1",
            "v2.21.1",
            "v2.20.4",
            "v2.20.3",
            "v2.20.2",
            "v2.20.1",
            "v2.19.2",
            "v2.19.1",
            "2.19.1",
            "R-2.18.5",
            "2.18.4",
            "R-2.18.3",
            "R-2.18.2",
            "R-2.17.2",
            "R-2.17.1",
            "R-2.16.1",
            "R-2.15.4",
            "R-2.15.3",
            "R-2.15.2",
            "R-2.15.1",
            "R-2.15.0b2",
            "R-2.16.0b1",
            "latest",
            "R-2.14.6",
            "R-2.14.5",
            "R-2.14.4",
            "R-2.14.3",
            "R-2.14.2",
            "R-2.14.1",
            "R-2.13.4",
            "R-2.13.3",
            "R-2.13.2",
            "R-2.13.1",
            "R-2.12.3",
            "R-2.12.2",
            "R-2.12.1",
            "R-2.11.2",
            "R-2.11.1",
            "R-2.10.4",
            "R-2.10.4.beta",
            "R-2.10.3",
            "R-2.10.2",
            "R-2.10.1",
            "R-2.9.12",
            "R-2.9.11",
            "R-2.9.10",
            "R-2.9.9",
            "R-2.9.8",
            "R-2.9.7",
            "R-2.9.6",
            "R-2.9.5",
            "R-2.9.4",
            "R-2.9.3",
            "R-2.9.2",
            "R-2.8.2",
            "R-2.8.1",
            "R-2.7.4",
            "R-2.7.3",
            "R-2.7.2",
            "R-2.7.1",
            "R-2.6.4",
            "R-2.6.3",
            "R-2.6.2",
            "R-2.6.1",
            "R-2.5.1",
            "R-2.4.7",
            "R-2.4.6",
            "R-2.4.5",
            "R-2.4.4",
            "R-2.4.3",
            "R-2.4.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-45158.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.671940039Z",
      "provider": "osv",
      "references": [
        "https://jvn.jp/en/jp/JVN80476432/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45158.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-45158",
        "https://github.com/web2py/web2py/commit/936e2260b0c34c44e2f3674a893e96d2a7fad0a3"
      ],
      "provider_metadata": {
        "cna_assigner": "jpcert",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45158.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-45158",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 492372,
  "published_at": "2023-10-16T07:53:52.134+00:00"
}