Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-33898

In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.

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

Source evidence

CVE-2021-33898

core-osv · Original source

Published 6 Jun 2021, 23:15 UTC

In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.

osv:CVE-2021-33898
Complete source record
{
  "id": "f8869f70342a589a6d6a80599d1567c849ef7ebaf1a68102e1d6b8b4aa29a5c3",
  "url": "https://osv.dev/vulnerability/CVE-2021-33898",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-33898",
    "summary": "In Invoice Ninja before 4.4.0, there is an unsafe call to unserialize() in app/Ninja/Repositories/AccountRepository.php that may allow an attacker to deserialize arbitrary PHP classes. In certain contexts, this can result in remote code execution. The attacker's input must be hosted at http://www.geoplugin.net (cleartext HTTP), and thus a successful attack requires spoofing that site or obtaining control of it.",
    "evidence": "osv:CVE-2021-33898",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-33898",
      "aliases": [
        "CVE-2021-33898"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/invoiceninja/invoiceninja",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4cda561fae1a10a970b1c4251a2962ed77ccc81c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:invoiceninja:invoice_ninja:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.4.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.3.1",
            "v4.3.0",
            "v4.2.2",
            "v4.2.1",
            "v4.2.0",
            "v4.1.5",
            "v4.1.4",
            "v4.1.3",
            "v4.1.2",
            "v4.1.1",
            "v4.1.0",
            "v4.0.1",
            "v4.0.0",
            "v3.9.2",
            "v3.9.1",
            "v3.9.0",
            "v3.8.1",
            "v3.8.0",
            "v3.7.2",
            "v3.7.1",
            "v3.7.0",
            "v3.6.1",
            "v3.6.0",
            "v3.5.1",
            "v3.5.0",
            "v3.4.2",
            "v3.4.1",
            "v3.4.0",
            "v3.3.3",
            "v3.3.1",
            "v3.3.0",
            "v3.2.1",
            "v3.2.0",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0.5",
            "v3.0.4",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.9.5",
            "v2.9.4",
            "v2.9.3",
            "v2.9.2",
            "v2.9.1",
            "v2.9.0",
            "v2.8.2",
            "v2.8.1",
            "v2.8",
            "v2.7.2",
            "v2.7.1",
            "v2.7",
            "v2.6.11",
            "v2.6.10",
            "v2.6.9",
            "v2.6.8",
            "v2.6.7",
            "v2.6.6",
            "v2.6.5",
            "v2.6.4",
            "v2.6.3",
            "v2.6.2",
            "v2.6.1",
            "v2.6",
            "v2.5.2.2",
            "v2.5.2.1",
            "v2.5.2",
            "v2.5.1.3",
            "v2.5.1.2",
            "v2.5.1.1",
            "v2.5.1",
            "v2.5.0.4",
            "v2.5.0.3",
            "v2.5.0.2",
            "v2.5.0.1",
            "v2.5.0",
            "v2.4.9.6",
            "v2.4.9.5",
            "v2.4.9.4",
            "v2.4.9.3",
            "v2.4.9.2",
            "v2.4.9.1",
            "v2.4.9",
            "v2.4.8.1",
            "v2.4.8",
            "v2.4.7",
            "v2.4.6",
            "v2.4.5",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.4",
            "v2.3.3",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.2",
            "v2.2.1",
            "v2.2.0",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0_RC1",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.1",
            "v1.6.0",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.3",
            "v1.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33898.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:44.769522148Z",
      "provider": "osv",
      "references": [
        "https://github.com/invoiceninja/invoiceninja/issues/5909"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-33898",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386058,
  "published_at": "2021-06-06T23:15:07.517+00:00"
}