Skip to content
Heist/ feed
Back to feed
Low

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-25939

In ArangoDB, versions v3.7.0 through v3.9.0-alpha.1 have a feature which allows downloading a Foxx service from a publicly available URL. This feature does not enforce proper filtering of requests performed internally, which can be abused by a highly-privileged attacker to perform blind SSRF and send internal requests to localhost.

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

Source evidence

CVE-2021-25939

core-osv · Original source

Published 9 Feb 2022, 13:15 UTC

In ArangoDB, versions v3.7.0 through v3.9.0-alpha.1 have a feature which allows downloading a Foxx service from a publicly available URL. This feature does not enforce proper filtering of requests performed internally, which can be abused by a highly-privileged attacker to perform blind SSRF and send internal requests to localhost.

osv:CVE-2021-25939
Complete source record
{
  "id": "c2d06d868e1c48ec7b8e62a2d1ee7e61242bea7806eb0cac6897b1efdf3a8fec",
  "url": "https://osv.dev/vulnerability/CVE-2021-25939",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-25939",
    "summary": "In ArangoDB, versions v3.7.0 through v3.9.0-alpha.1 have a feature which allows downloading a Foxx service from a publicly available URL. This feature does not enforce proper filtering of requests performed internally, which can be abused by a highly-privileged attacker to perform blind SSRF and send internal requests to localhost.",
    "evidence": "osv:CVE-2021-25939",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2021-25939",
      "aliases": [
        "CVE-2021-25939"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/arangodb/arangodb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6285548e9a094f517fb28f58192d1d29be0f4f37"
                },
                {
                  "last_affected": "1599d1db57279467472219d6b01c1248a685834b"
                },
                {
                  "fixed": "d7b35a6884c6b2802d34d79fb2a79fb2c9ec2175"
                },
                {
                  "fixed": "d9b7f019d2435f107b19a59190bf9cc27d5f34dd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:arangodb:arangodb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.7.0"
                      },
                      {
                        "last_affected": "3.8.5.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d7b35a6884c6b2802d34d79fb2a79fb2c9ec2175"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d9b7f019d2435f107b19a59190bf9cc27d5f34dd"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-25939.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-25939-183e74e1",
                "digest": {
                  "length": 919,
                  "function_hash": "174794310772793720377014152124395755500"
                },
                "source": "https://github.com/arangodb/arangodb/commit/d9b7f019d2435f107b19a59190bf9cc27d5f34dd",
                "target": {
                  "file": "arangod/GeneralServer/ServerSecurityFeature.cpp",
                  "function": "ServerSecurityFeature::collectOptions"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-1f9e20c6",
                "digest": {
                  "length": 908,
                  "function_hash": "79457259610168342800655107710465570094"
                },
                "source": "https://github.com/arangodb/arangodb/commit/d7b35a6884c6b2802d34d79fb2a79fb2c9ec2175",
                "target": {
                  "file": "arangod/GeneralServer/ServerSecurityFeature.cpp",
                  "function": "ServerSecurityFeature::collectOptions"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-2ac46c25",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "171578474358744883050532284774427090994",
                    "145922431644286592950151905473129759862",
                    "91279759690882665212308453718633806755",
                    "21501310935273928295976518107387063199",
                    "295555603563205786738352619570560755768",
                    "303631136301426389800023109120272632237",
                    "58792356836980467249022217435604909228",
                    "151319066332408957033740052497950201960",
                    "202526629000751422200092726619576886378"
                  ]
                },
                "source": "https://github.com/arangodb/arangodb/commit/d7b35a6884c6b2802d34d79fb2a79fb2c9ec2175",
                "target": {
                  "file": "arangod/GeneralServer/ServerSecurityFeature.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-3fc3f253",
                "digest": {
                  "length": 1626,
                  "function_hash": "131924263341042407445514875787121144924"
                },
                "source": "https://github.com/arangodb/arangodb/commit/d7b35a6884c6b2802d34d79fb2a79fb2c9ec2175",
                "target": {
                  "file": "arangod/V8Server/v8-actions.cpp",
                  "function": "TRI_InitV8ServerUtils"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-66ed81af",
                "digest": {
                  "length": 290,
                  "function_hash": "28334326683509858840648989849152962029"
                },
                "source": "https://github.com/arangodb/arangodb/commit/d7b35a6884c6b2802d34d79fb2a79fb2c9ec2175",
                "target": {
                  "file": "arangod/GeneralServer/ServerSecurityFeature.cpp",
                  "function": "ServerSecurityFeature::ServerSecurityFeature"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-7b577a58",
                "digest": {
                  "length": 1626,
                  "function_hash": "131924263341042407445514875787121144924"
                },
                "source": "https://github.com/arangodb/arangodb/commit/d9b7f019d2435f107b19a59190bf9cc27d5f34dd",
                "target": {
                  "file": "arangod/V8Server/v8-actions.cpp",
                  "function": "TRI_InitV8ServerUtils"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-7c7c3d71",
                "digest": {
                  "length": 290,
                  "function_hash": "28334326683509858840648989849152962029"
                },
                "source": "https://github.com/arangodb/arangodb/commit/d9b7f019d2435f107b19a59190bf9cc27d5f34dd",
                "target": {
                  "file": "arangod/GeneralServer/ServerSecurityFeature.cpp",
                  "function": "ServerSecurityFeature::ServerSecurityFeature"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-9f065233",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "45822496179553618684218159847719626242",
                    "201135298908289642216005663799829705959",
                    "112959675162389496003525350671959605992",
                    "90046315187897303660861499032904069623",
                    "325486636789127341608538438883649628320",
                    "122235553757083154865624481285303866095",
                    "92837879858124137096717948175360380905"
                  ]
                },
                "source": "https://github.com/arangodb/arangodb/commit/d7b35a6884c6b2802d34d79fb2a79fb2c9ec2175",
                "target": {
                  "file": "arangod/GeneralServer/ServerSecurityFeature.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-b7e39d5f",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "45822496179553618684218159847719626242",
                    "201135298908289642216005663799829705959",
                    "112959675162389496003525350671959605992",
                    "90046315187897303660861499032904069623",
                    "325486636789127341608538438883649628320",
                    "122235553757083154865624481285303866095",
                    "92837879858124137096717948175360380905"
                  ]
                },
                "source": "https://github.com/arangodb/arangodb/commit/d9b7f019d2435f107b19a59190bf9cc27d5f34dd",
                "target": {
                  "file": "arangod/GeneralServer/ServerSecurityFeature.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-bd9011dc",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "56459050841252215816821742522104797786",
                    "239060332871912129357072040279168801939",
                    "21973457217130382295300425987111536420",
                    "51017139329089179302438965250338779523",
                    "64736567541857265099589241050943001035",
                    "71581145802202207131550779210444589178",
                    "59325315018335777990084717438678633912"
                  ]
                },
                "source": "https://github.com/arangodb/arangodb/commit/d9b7f019d2435f107b19a59190bf9cc27d5f34dd",
                "target": {
                  "file": "arangod/V8Server/v8-actions.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-c89aede7",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "171578474358744883050532284774427090994",
                    "145922431644286592950151905473129759862",
                    "91279759690882665212308453718633806755",
                    "21501310935273928295976518107387063199",
                    "295555603563205786738352619570560755768",
                    "278761347095708978043631765692452266293",
                    "80904735549079215090123115401127728353",
                    "69638725692353024319440929426838261029",
                    "303631136301426389800023109120272632237",
                    "58792356836980467249022217435604909228",
                    "151319066332408957033740052497950201960",
                    "202526629000751422200092726619576886378"
                  ]
                },
                "source": "https://github.com/arangodb/arangodb/commit/d9b7f019d2435f107b19a59190bf9cc27d5f34dd",
                "target": {
                  "file": "arangod/GeneralServer/ServerSecurityFeature.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-25939-fbe0a29a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "198416778605841137435972778522675237449",
                    "44347626381409520970205566983958127120",
                    "206321675041124627775802115862911742389",
                    "190391448780593587838988850063661580219",
                    "220897004022331659164416289636182348350",
                    "167586439215528886693894676029754068672",
                    "17634606546523581049692261570861640207"
                  ]
                },
                "source": "https://github.com/arangodb/arangodb/commit/d7b35a6884c6b2802d34d79fb2a79fb2c9ec2175",
                "target": {
                  "file": "arangod/V8Server/v8-actions.cpp"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T15:01:44Z"
          }
        }
      ],
      "modified": "2026-10-20T15:01:44.746090946Z",
      "provider": "osv",
      "references": [
        "https://github.com/arangodb/arangodb/commit/d7b35a6884c6b2802d34d79fb2a79fb2c9ec2175",
        "https://github.com/arangodb/arangodb/commit/d9b7f019d2435f107b19a59190bf9cc27d5f34dd",
        "https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25939"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:arangodb:arangodb:3.9.0:alpha1:*:*:*:*:*:*"
            ],
            "vendor_product": "arangodb:arangodb",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.9.0-alpha1"
                  },
                  {
                    "last_affected": "3.9.0-alpha1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-25939",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 389737,
  "published_at": "2022-02-09T13:15:08.447+00:00"
}