CVE-2020-15709 (GCVE-0-2020-15709)

Vulnerability from cvelistv5 – Published: 2020-09-05 03:30 – Updated: 2024-09-17 01:51
VLAI
Title
add-apt-repository print ASNI terminal codes
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.
CWE
  • CWE-20 - Improper Input Validation
References
Impacted products
Vendor Product Version CPE status
Canonical add-apt-repository Affected: 0.98.9.* , < 0.98.9.2 (custom)
Affected: 0.96.24.32.* , < 0.96.24.32.14 (custom)
Affected: 0.96.20.* , < 0.96.20.10 (custom)
Affected: 0.92.37.* , < 0.92.37.8ubuntu0.1~esm1 (custom)
guessed Create a notification for this product.
Date Public
2020-08-04 00:00
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.000Z",
      "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.000Z",
        "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.015Z",
    "dateReserved": "2020-07-14T00:00:00.000Z",
    "dateUpdated": "2024-09-17T01:51:18.150Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2020-15709",
      "date": "2026-09-25",
      "epss": "0.00313",
      "percentile": "0.21565"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "A41B5913-0F89-40CB-AE3C-C955965675F3",
                  "versionEndExcluding": "0.92.37.8ubuntu0.1\\~esm1",
                  "versionStartIncluding": "0.92.37.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "09EB5C38-87CE-4863-A281-968CCFB44F5F",
                  "versionEndExcluding": "0.96.20.10",
                  "versionStartIncluding": "0.96.20.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "AD750E43-D532-496D-B63A-A664870A60CA",
                  "versionEndExcluding": "0.96.24.32.14",
                  "versionStartIncluding": "0.96.24.32.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "1D631968-A108-4DE4-B4FD-2025AF9F91A0",
                  "versionEndExcluding": "0.98.9.2",
                  "versionStartIncluding": "0.98.9.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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"
        }
      ],
      "id": "CVE-2020-15709",
      "lastModified": "2024-11-21T05:06:04.363",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "LOW",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "LOCAL",
              "authentication": "NONE",
              "availabilityImpact": "NONE",
              "baseScore": 2.1,
              "confidentialityImpact": "NONE",
              "integrityImpact": "PARTIAL",
              "vectorString": "AV:L/AC:L/Au:N/C:N/I:P/A:N",
              "version": "2.0"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 2.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "NONE",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "HIGH",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 1.8,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2020-09-05T04:15:13.743",
      "references": [
        {
          "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"
          ],
          "url": "https://git.launchpad.net/software-properties/commit/add-apt-repository?id=97e2fe7d181e8711e0f5253d3b8db40426c17f1e"
        }
      ],
      "sourceIdentifier": "security@ubuntu.com",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-20"
            }
          ],
          "source": "security@ubuntu.com",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "NVD-CWE-noinfo"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A41B5913-0F89-40CB-AE3C-C955965675F3",
                    "versionEndExcluding": "0.92.37.8ubuntu0.1\\~esm1",
                    "versionStartIncluding": "0.92.37.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "09EB5C38-87CE-4863-A281-968CCFB44F5F",
                    "versionEndExcluding": "0.96.20.10",
                    "versionStartIncluding": "0.96.20.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AD750E43-D532-496D-B63A-A664870A60CA",
                    "versionEndExcluding": "0.96.24.32.14",
                    "versionStartIncluding": "0.96.24.32.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:canonical:add-apt-repository:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1D631968-A108-4DE4-B4FD-2025AF9F91A0",
                    "versionEndExcluding": "0.98.9.2",
                    "versionStartIncluding": "0.98.9.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "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"
          }
        ],
        "id": "CVE-2020-15709",
        "lastModified": "2024-11-21T05:06:04.363",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "LOW",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "LOCAL",
                "authentication": "NONE",
                "availabilityImpact": "NONE",
                "baseScore": 2.1,
                "confidentialityImpact": "NONE",
                "integrityImpact": "PARTIAL",
                "vectorString": "AV:L/AC:L/Au:N/C:N/I:P/A:N",
                "version": "2.0"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 2.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "NONE",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2020-09-05T04:15:13.743",
        "references": [
          {
            "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"
            ],
            "url": "https://git.launchpad.net/software-properties/commit/add-apt-repository?id=97e2fe7d181e8711e0f5253d3b8db40426c17f1e"
          }
        ],
        "sourceIdentifier": "security@ubuntu.com",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-20"
              }
            ],
            "source": "security@ubuntu.com",
            "type": "Secondary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-noinfo"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…