Vulnerabilities in pkg:pypi/cloudtoken

PACKAGE
Advisory Identifier: GHSA-4fpg-j5mp-783g
Advisory Summary

CVE-2018-13390 is a LOW (CVSS 6.1) cloudtoken insufficiently protects credentials vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Cloudtoken libraries in the PyPI ecosystem. The issue involves cloudtoken insufficiently protects credentials. Remediation is available by upgrading affected packages to version 0.1.24.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/cloudtoken

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/cloudtoken. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-4fpg-j5mp-783g CVE-2018-13390 LOW Cloudtoken Insufficiently Protects Credentials

CVE-2018-13390 at a Glance

CVE Identifier CVE-2018-13390
GHSA Identifier GHSA-4fpg-j5mp-783g
Severity LOW
CVSS v3.1 Base Score 6.1
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Cloudtoken
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N).

Attack Vector Adjacent (AV:A)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2018-13390

To remediate this vulnerability, upgrade all affected Cloudtoken dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

cloudtoken fixed: 0.1.24
pip install cloudtoken>=0.1.24
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show cloudtoken

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2018-13390, inspect your installed packages using pip:

pip show cloudtoken

Analyze the terminal output to locate any version of Cloudtoken in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.1.24), your application is affected.

Note: The pip show cloudtoken command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Cloudtoken, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Unauthenticated access to cloudtoken daemon on Linux via network from version 0.1.1 before version 0.1.24 allows attackers on the same subnet to gain temporary AWS credentials for the users' roles.

CVE-2018-13390 Affected Cloudtoken Versions

1 component(s)
Fixed Versions:
0.1.24
Product / Package Ecosystem Affected Versions Fixed Version
cloudtoken
PyPI
≥ 0.1.1
< 0.1.24
0.1.24

References

Frequently Asked Questions

What is CVE-2018-13390?
CVE-2018-13390 is a security vulnerability in Cloudtoken involving Cloudtoken Insufficiently Protects Credentials under CWE-522: Insufficiently Protected Credentials.
Which Cloudtoken versions are affected?
Affected versions include releases prior to 0.1.24 across affected packages: cloudtoken.
What version fixes CVE-2018-13390?
Upgrading to 0.1.24 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cloudtoken affected?
Yes, cloudtoken is affected in releases prior to 0.1.24. Upgrade your dependency to 0.1.24 or later.
What is the CVSS score of CVE-2018-13390?
CVE-2018-13390 has a CVSS v3.1 base score of 6.1 (LOW) with vector string CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2018-13390?
CVE-2018-13390 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check PyPI dependencies for CVE-2018-13390?
Run the dependency tree command: 'pip show cloudtoken'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4fpg-j5mp-783g",
  "modified" : "2024-09-13T15:57:09Z",
  "published" : "2022-05-13T01:49:46Z",
  "aliases" : [ "CVE-2018-13390" ],
  "summary" : "Cloudtoken Insufficiently Protects Credentials",
  "details" : "Unauthenticated access to cloudtoken daemon on Linux via network from version 0.1.1 before version 0.1.24 allows attackers on the same subnet to gain temporary AWS credentials for the users' roles.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "cloudtoken"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.1.1"
      }, {
        "fixed" : "0.1.24"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-13390"
  }, {
    "type" : "WEB",
    "url" : "https://bitbucket.org/atlassian/cloudtoken/wiki/CVE-2018-13390%20-%20Exposed%20credentials%20in%20daemon%20mode%20on%20Linux"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/cloudtoken/PYSEC-2018-1.yaml"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-522" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-22T22:45:45Z",
    "nvd_published_at" : "2018-08-10T15:29:00Z"
  }
}