Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-4261

A vulnerability classified as critical has been found in pacman-canvas up to 1.0.5. Affected is the function addHighscore of the file data/db-handler.php. The manipulation leads to sql injection. It is possible to launch the attack remotely. Upgrading to version 1.0.6 is able to address this issue. The name of the patch is 29522c90ca1cebfce6453a5af5a45281d99b0646. It is recommended to upgrade the affected component. VDB-216270 is the identifier assigned to this vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-4261
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:59 UTC · Revision 1

Source evidence

CVE-2021-4261

core-osv · Original source

Published 19 Dec 2022, 14:15 UTC

A vulnerability classified as critical has been found in pacman-canvas up to 1.0.5. Affected is the function addHighscore of the file data/db-handler.php. The manipulation leads to sql injection. It is possible to launch the attack remotely. Upgrading to version 1.0.6 is able to address this issue. The name of the patch is 29522c90ca1cebfce6453a5af5a45281d99b0646. It is recommended to upgrade the affected component. VDB-216270 is the identifier assigned to this vulnerability.

osv:CVE-2021-4261
Complete source record
{
  "id": "167736bab3cacd7658017251fc153bfc3979f330ebaea116d31b6bca97f3dadd",
  "url": "https://osv.dev/vulnerability/CVE-2021-4261",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-4261",
    "summary": "A vulnerability classified as critical has been found in pacman-canvas up to 1.0.5. Affected is the function addHighscore of the file data/db-handler.php. The manipulation leads to sql injection. It is possible to launch the attack remotely. Upgrading to version 1.0.6 is able to address this issue. The name of the patch is 29522c90ca1cebfce6453a5af5a45281d99b0646. It is recommended to upgrade the affected component. VDB-216270 is the identifier assigned to this vulnerability.",
    "evidence": "osv:CVE-2021-4261",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-4261",
      "aliases": [
        "CVE-2021-4261"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/platzhersh/pacman-canvas",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "76d446b2787f051f578d0b0aaf793dc8af2daea3"
                },
                {
                  "fixed": "29522c90ca1cebfce6453a5af5a45281d99b0646"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:pacman-canvas_project:pacman-canvas:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "29522c90ca1cebfce6453a5af5a45281d99b0646"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "76d446b2787f051f578d0b0aaf793dc8af2daea3"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.0.6"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4261.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:01.463555129Z",
      "provider": "osv",
      "references": [
        "https://github.com/platzhersh/pacman-canvas/releases/tag/1.0.6",
        "https://vuldb.com/?id.216270",
        "https://github.com/platzhersh/pacman-canvas/commit/29522c90ca1cebfce6453a5af5a45281d99b0646"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-4261",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386710,
  "published_at": "2022-12-19T14:15:10.7+00:00"
}