GHSA-GP2F-254M-RH32

Vulnerability from github – Published: 2021-11-10 16:51 – Updated: 2021-11-08 21:31
VLAI?
Summary
Unauthorized access to data in @sap-cloud-sdk/core
Details

Impact

This affects applications on SAP Business Technology Platform that use the SAP Cloud SDK and enabled caching of destinations. In some cases, when user information was missing, destinations were cached without user information, allowing other users to retrieve the same destination with its permissions. By default, destination caching is disabled. If it is enabled the maximum lifetime is 5 minutes which limits the attack vector.

Patches

The problem was fixed by #1769 and #1770. The security for caching has been increased. The changes are released in version 1.52.0.

Workarounds

Disable destination caching (it is disabled by default).

References

destination cache API docs

For more information

If you have any questions or comments about this advisory: * Open an issue in https://github.com/SAP/cloud-sdk-js

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "@sap-cloud-sdk/core"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.52.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2021-41251"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-200"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-11-08T21:31:39Z",
    "nvd_published_at": "2021-11-05T23:15:00Z",
    "severity": "MODERATE"
  },
  "details": "### Impact\nThis affects applications on SAP Business Technology Platform that use the SAP Cloud SDK and enabled caching of destinations.\nIn some cases, when user information was missing, destinations were cached without user information, allowing other users to retrieve the same destination with its permissions.\nBy default, destination caching is disabled. If it is enabled the maximum lifetime is 5 minutes which limits the attack vector.\n\n### Patches\nThe problem was fixed by #1769 and #1770. The security for caching has been increased. The changes are released in version 1.52.0.\n\n### Workarounds\nDisable destination caching (it is disabled by default).\n\n### References\n[destination cache API docs](https://sap.github.io/cloud-sdk/api/1.51.0/modules/sap_cloud_sdk_core#destinationCache)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in https://github.com/SAP/cloud-sdk-js",
  "id": "GHSA-gp2f-254m-rh32",
  "modified": "2021-11-08T21:31:39Z",
  "published": "2021-11-10T16:51:41Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/SAP/cloud-sdk-js/security/advisories/GHSA-gp2f-254m-rh32"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41251"
    },
    {
      "type": "WEB",
      "url": "https://github.com/SAP/cloud-sdk-js/pull/1769"
    },
    {
      "type": "WEB",
      "url": "https://github.com/SAP/cloud-sdk-js/pull/1770"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/SAP/cloud-sdk-js"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Unauthorized access to data in @sap-cloud-sdk/core"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…