CVE-2020-15709 (GCVE-0-2020-15709)
Vulnerability from cvelistv5
Published
2020-09-05 03:30
Modified
2024-09-17 01:51
Severity ?
CWE
  • CWE-20 - Improper Input Validation
Summary
Versions of add-apt-repository before 0.98.9.2, 0.96.24.32.14, 0.96.20.10, and 0.92.37.8ubuntu0.1~esm1, printed a PPA (personal package archive) description to the terminal as-is, which allowed PPA owners to provide ANSI terminal escapes to modify terminal contents in unexpected ways.
Impacted products
Vendor Product Version
Canonical add-apt-repository Version: 0.98.9.*   < 0.98.9.2
Version: 0.96.24.32.*   < 0.96.24.32.14
Version: 0.96.20.*   < 0.96.20.10
Version: 0.92.37.*   < 0.92.37.8ubuntu0.1~esm1
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T13:22:30.826Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://git.launchpad.net/software-properties/commit/add-apt-repository?id=97e2fe7d181e8711e0f5253d3b8db40426c17f1e"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "add-apt-repository",
          "vendor": "Canonical",
          "versions": [
            {
              "lessThan": "0.98.9.2",
              "status": "affected",
              "version": "0.98.9.*",
              "versionType": "custom"
            },
            {
              "lessThan": "0.96.24.32.14",
              "status": "affected",
              "version": "0.96.24.32.*",
              "versionType": "custom"
            },
            {
              "lessThan": "0.96.20.10",
              "status": "affected",
              "version": "0.96.20.*",
              "versionType": "custom"
            },
            {
              "lessThan": "0.92.37.8ubuntu0.1~esm1",
              "status": "affected",
              "version": "0.92.37.*",
              "versionType": "custom"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Jason A. Donenfeld"
        }
      ],
      "datePublic": "2020-08-04T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "Versions of add-apt-repository before 0.98.9.2, 0.96.24.32.14, 0.96.20.10, and 0.92.37.8ubuntu0.1~esm1, printed a PPA (personal package archive) description to the terminal as-is, which allowed PPA owners to provide ANSI terminal escapes to modify terminal contents in unexpected ways."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-20",
              "description": "CWE-20 Improper Input Validation",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2020-09-05T03:30:17",
        "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "shortName": "canonical"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://git.launchpad.net/software-properties/commit/add-apt-repository?id=97e2fe7d181e8711e0f5253d3b8db40426c17f1e"
        }
      ],
      "source": {
        "advisory": "https://ubuntu.com/security/notices/USN-4457-1",
        "defect": [
          "https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1890286"
        ],
        "discovery": "EXTERNAL"
      },
      "title": "add-apt-repository print ASNI terminal codes",
      "x_generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "security@ubuntu.com",
          "DATE_PUBLIC": "2020-08-04T00:00:00.000Z",
          "ID": "CVE-2020-15709",
          "STATE": "PUBLIC",
          "TITLE": "add-apt-repository print ASNI terminal codes"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "add-apt-repository",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "\u003c",
                            "version_name": "0.98.9.*",
                            "version_value": "0.98.9.2"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_name": "0.96.24.32.*",
                            "version_value": "0.96.24.32.14"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_name": "0.96.20.*",
                            "version_value": "0.96.20.10"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_name": "0.92.37.*",
                            "version_value": "0.92.37.8ubuntu0.1~esm1"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "Canonical"
              }
            ]
          }
        },
        "credit": [
          {
            "lang": "eng",
            "value": "Jason A. Donenfeld"
          }
        ],
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "Versions of add-apt-repository before 0.98.9.2, 0.96.24.32.14, 0.96.20.10, and 0.92.37.8ubuntu0.1~esm1, printed a PPA (personal package archive) description to the terminal as-is, which allowed PPA owners to provide ANSI terminal escapes to modify terminal contents in unexpected ways."
            }
          ]
        },
        "generator": {
          "engine": "Vulnogram 0.0.9"
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-20 Improper Input Validation"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://git.launchpad.net/software-properties/commit/add-apt-repository?id=97e2fe7d181e8711e0f5253d3b8db40426c17f1e",
              "refsource": "MISC",
              "url": "https://git.launchpad.net/software-properties/commit/add-apt-repository?id=97e2fe7d181e8711e0f5253d3b8db40426c17f1e"
            }
          ]
        },
        "source": {
          "advisory": "https://ubuntu.com/security/notices/USN-4457-1",
          "defect": [
            "https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1890286"
          ],
          "discovery": "EXTERNAL"
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
    "assignerShortName": "canonical",
    "cveId": "CVE-2020-15709",
    "datePublished": "2020-09-05T03:30:18.015729Z",
    "dateReserved": "2020-07-14T00:00:00",
    "dateUpdated": "2024-09-17T01:51:18.150Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2020-15709\",\"sourceIdentifier\":\"security@ubuntu.com\",\"published\":\"2020-09-05T04:15:13.743\",\"lastModified\":\"2024-11-21T05:06:04.363\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Versions of add-apt-repository before 0.98.9.2, 0.96.24.32.14, 0.96.20.10, and 0.92.37.8ubuntu0.1~esm1, printed a PPA (personal package archive) description to the terminal as-is, which allowed PPA owners to provide ANSI terminal escapes to modify terminal contents in unexpected ways.\"},{\"lang\":\"es\",\"value\":\"Las versiones de add-apt-repository anteriores a 0.98.9.2, 0.96.24.32.14, 0.96.20.10 y 0.92.37.8ubuntu0.1~esm1, imprimieron una descripci\u00f3n PPA (personal package archive) en el terminal as-is, lo que permiti\u00f3 a los propietarios de PPA proporcionar escapes del terminal ANSI para modificar el contenido del terminal de formas no previstas\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:L/Au:N/C:N/I:P/A:N\",\"baseScore\":2.1,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"LOW\",\"exploitabilityScore\":3.9,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"security@ubuntu.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-20\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.92.37.0\",\"versionEndExcluding\":\"0.92.37.8ubuntu0.1\\\\~esm1\",\"matchCriteriaId\":\"A41B5913-0F89-40CB-AE3C-C955965675F3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.96.20.0\",\"versionEndExcluding\":\"0.96.20.10\",\"matchCriteriaId\":\"09EB5C38-87CE-4863-A281-968CCFB44F5F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.96.24.32.0\",\"versionEndExcluding\":\"0.96.24.32.14\",\"matchCriteriaId\":\"AD750E43-D532-496D-B63A-A664870A60CA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.98.9.0\",\"versionEndExcluding\":\"0.98.9.2\",\"matchCriteriaId\":\"1D631968-A108-4DE4-B4FD-2025AF9F91A0\"}]}]}],\"references\":[{\"url\":\"https://git.launchpad.net/software-properties/commit/add-apt-repository?id=97e2fe7d181e8711e0f5253d3b8db40426c17f1e\",\"source\":\"security@ubuntu.com\",\"tags\":[\"Patch\",\"Third Party Advisory\"]},{\"url\":\"https://git.launchpad.net/software-properties/commit/add-apt-repository?id=97e2fe7d181e8711e0f5253d3b8db40426c17f1e\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\",\"Third Party Advisory\"]}]}}"
  }
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…