usn-4661-1
Vulnerability from osv_ubuntu
Published
2020-12-03 18:35
Modified
2026-02-10 04:42
Summary
snapcraft vulnerability
Details

It was discovered that Snapcraft includes the current directory when configuring LD_LIBRARY_PATH for application commands. If a user were tricked into installing a malicious snap or downloading a malicious library, under certain circumstances an attacker could exploit this to affect strict mode snaps that have access to the library and when launched from the directory containing the library.


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-27348",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:16.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "snapcraft",
            "binary_version": "2.43.1+16.04.1"
          },
          {
            "binary_name": "snapcraft-examples",
            "binary_version": "2.43.1+16.04.1"
          },
          {
            "binary_name": "snapcraft-parser",
            "binary_version": "2.43.1+16.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "snapcraft",
        "purl": "pkg:deb/ubuntu/snapcraft@2.43.1+16.04.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.43.1+16.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.3",
        "0.4",
        "0.5",
        "0.6",
        "1.0",
        "2.0",
        "2.0.1",
        "2.1",
        "2.1.1",
        "2.2",
        "2.2.1",
        "2.2.2",
        "2.3.1",
        "2.3.2",
        "2.4",
        "2.5",
        "2.6",
        "2.6.1",
        "2.7",
        "2.8",
        "2.8.1",
        "2.8.2",
        "2.8.3",
        "2.8.4",
        "2.8.8b",
        "2.9",
        "2.10.1",
        "2.11",
        "2.12",
        "2.12.1",
        "2.13.1",
        "2.14",
        "2.15.1",
        "2.16",
        "2.17",
        "2.18.1",
        "2.19",
        "2.20",
        "2.21",
        "2.22.1",
        "2.23",
        "2.24",
        "2.25",
        "2.26",
        "2.27",
        "2.27.1",
        "2.28",
        "2.29",
        "2.31",
        "2.33",
        "2.34",
        "2.35",
        "2.39.2",
        "2.39.3",
        "2.39.3+really2.35",
        "2.40",
        "2.41",
        "2.42",
        "2.42.1",
        "2.43",
        "2.43.1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-27348",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "snapcraft",
            "binary_version": "2.43.1+18.04.1"
          },
          {
            "binary_name": "snapcraft-examples",
            "binary_version": "2.43.1+18.04.1"
          },
          {
            "binary_name": "snapcraft-parser",
            "binary_version": "2.43.1+18.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "snapcraft",
        "purl": "pkg:deb/ubuntu/snapcraft@2.43.1+18.04.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.43.1+18.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.34+17.10",
        "2.39.2+18.04.2",
        "2.40+18.04.1",
        "2.40+18.04.3",
        "2.41+18.04.1",
        "2.41+18.04.2",
        "2.42+18.04.2",
        "2.42.1+18.04",
        "2.43+18.04",
        "2.43.1+18.04"
      ]
    }
  ],
  "aliases": [],
  "details": "It was discovered that Snapcraft includes the current directory when\nconfiguring LD_LIBRARY_PATH for application commands. If a user were\ntricked into installing a malicious snap or downloading a malicious\nlibrary, under certain circumstances an attacker could exploit this to\naffect strict mode snaps that have access to the library and when\nlaunched from the directory containing the library.\n",
  "id": "USN-4661-1",
  "modified": "2026-02-10T04:42:00Z",
  "published": "2020-12-03T18:35:20Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4661-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-27348"
    },
    {
      "type": "REPORT",
      "url": "https://launchpad.net/bugs/1901572"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "snapcraft vulnerability",
  "upstream": [
    "UBUNTU-CVE-2020-27348"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…