GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2021-32556 (GCVE-0-2021-32556)

Vulnerability from cvelistv5 – Published: 2021-06-12 03:40 – Updated: 2024-09-16 19:51
VLAI
Title
apport get_modified_conffiles() function command injection
Summary
It was discovered that the get_modified_conffiles() function in backends/packaging-apt-dpkg.py allowed injecting modified package names in a manner that would confuse the dpkg(1) call.
CWE
  • CWE-78 - OS Command Injection
References
Impacted products
Vendor Product Version CPE status
Canonical apport Affected: 2.20.1 , < 2.20.1-0ubuntu2.30+esm1 (custom)
Affected: 2.20.9 , < 2.20.9-0ubuntu7.24 (custom)
Affected: 2.20.11-0ubuntu27 , < 2.20.11-0ubuntu27.18 (custom)
Affected: 2.20.11-0ubuntu50 , < 2.20.11-0ubuntu50.7 (custom)
Affected: 2.20.11-0ubuntu65 , < 2.20.11-0ubuntu65.1 (custom)
Affected: 2.14.1-0ubuntu3 , < 2.14.1-0ubuntu3.29+esm7 (custom)
guessed Create a notification for this product.
Date Public
2021-05-25 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T23:25:29.949Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "apport",
          "vendor": "Canonical",
          "versions": [
            {
              "lessThan": "2.20.1-0ubuntu2.30+esm1",
              "status": "affected",
              "version": "2.20.1",
              "versionType": "custom"
            },
            {
              "lessThan": "2.20.9-0ubuntu7.24",
              "status": "affected",
              "version": "2.20.9",
              "versionType": "custom"
            },
            {
              "lessThan": "2.20.11-0ubuntu27.18",
              "status": "affected",
              "version": "2.20.11-0ubuntu27",
              "versionType": "custom"
            },
            {
              "lessThan": "2.20.11-0ubuntu50.7",
              "status": "affected",
              "version": "2.20.11-0ubuntu50",
              "versionType": "custom"
            },
            {
              "lessThan": "2.20.11-0ubuntu65.1",
              "status": "affected",
              "version": "2.20.11-0ubuntu65",
              "versionType": "custom"
            },
            {
              "lessThan": "2.14.1-0ubuntu3.29+esm7",
              "status": "affected",
              "version": "2.14.1-0ubuntu3",
              "versionType": "custom"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "maik@secfault-security.com (@fktio)"
        }
      ],
      "datePublic": "2021-05-25T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "It was discovered that the get_modified_conffiles() function in backends/packaging-apt-dpkg.py allowed injecting modified package names in a manner that would confuse the dpkg(1) call."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 3.8,
            "baseSeverity": "LOW",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-78",
              "description": "CWE-78 OS Command Injection",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2021-06-12T03:40:42.000Z",
        "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "shortName": "canonical"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904"
        }
      ],
      "source": {
        "advisory": "https://ubuntu.com/security/notices/USN-4965-1",
        "defect": [
          "https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904"
        ],
        "discovery": "EXTERNAL"
      },
      "title": "apport get_modified_conffiles() function command injection",
      "x_generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "security@ubuntu.com",
          "DATE_PUBLIC": "2021-05-25T00:00:00.000Z",
          "ID": "CVE-2021-32556",
          "STATE": "PUBLIC",
          "TITLE": "apport get_modified_conffiles() function command injection"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "apport",
                      "version": {
                        "version_data": [
                          {
                            "version_affected": "\u003c",
                            "version_name": "2.20.1",
                            "version_value": "2.20.1-0ubuntu2.30+esm1"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_name": "2.20.9",
                            "version_value": "2.20.9-0ubuntu7.24"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_name": "2.20.11-0ubuntu27",
                            "version_value": "2.20.11-0ubuntu27.18"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_name": "2.20.11-0ubuntu50",
                            "version_value": "2.20.11-0ubuntu50.7"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_name": "2.20.11-0ubuntu65",
                            "version_value": "2.20.11-0ubuntu65.1"
                          },
                          {
                            "version_affected": "\u003c",
                            "version_name": "2.14.1-0ubuntu3",
                            "version_value": "2.14.1-0ubuntu3.29+esm7"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "Canonical"
              }
            ]
          }
        },
        "credit": [
          {
            "lang": "eng",
            "value": "maik@secfault-security.com (@fktio)"
          }
        ],
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "It was discovered that the get_modified_conffiles() function in backends/packaging-apt-dpkg.py allowed injecting modified package names in a manner that would confuse the dpkg(1) call."
            }
          ]
        },
        "generator": {
          "engine": "Vulnogram 0.0.9"
        },
        "impact": {
          "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 3.8,
            "baseSeverity": "LOW",
            "confidentialityImpact": "LOW",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N",
            "version": "3.1"
          }
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-78 OS Command Injection"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904",
              "refsource": "MISC",
              "url": "https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904"
            }
          ]
        },
        "source": {
          "advisory": "https://ubuntu.com/security/notices/USN-4965-1",
          "defect": [
            "https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904"
          ],
          "discovery": "EXTERNAL"
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
    "assignerShortName": "canonical",
    "cveId": "CVE-2021-32556",
    "datePublished": "2021-06-12T03:40:42.604Z",
    "dateReserved": "2021-05-10T00:00:00.000Z",
    "dateUpdated": "2024-09-16T19:51:18.523Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2021-32556",
      "date": "2026-09-16",
      "epss": "0.00333",
      "percentile": "0.26463"
    },
    "fkie_nvd": {
      "configurations": "[{\"nodes\": [{\"operator\": \"OR\", \"negate\": false, \"cpeMatch\": [{\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.14.1-0ubuntu3\", \"versionEndExcluding\": \"2.14.1-0ubuntu3.29\\\\+esm7\", \"matchCriteriaId\": \"15384D7F-D81C-46B4-8F98-70FD9F1201E0\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.20.1\", \"versionEndExcluding\": \"2.20.1-0ubuntu2.30\\\\+esm1\", \"matchCriteriaId\": \"64C72114-B15D-441E-A742-19A7D7A341CA\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.20.9\", \"versionEndExcluding\": \"2.20.9-0ubuntu7.24\", \"matchCriteriaId\": \"8F6CEE83-29FB-4B02-A31D-E23079AFC2A6\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.20.11-0ubuntu27\", \"versionEndExcluding\": \"2.20.11-0ubuntu27.18\", \"matchCriteriaId\": \"3BD90405-8C94-43F2-BBF8-FFB695B9181C\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.20.11-0ubuntu50\", \"versionEndExcluding\": \"2.20.11-0ubuntu50.7\", \"matchCriteriaId\": \"BB003A8B-8290-4BBA-8C0D-64E208ABBEFE\"}, {\"vulnerable\": true, \"criteria\": \"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\", \"versionStartIncluding\": \"2.20.11-0ubuntu65\", \"versionEndExcluding\": \"2.20.11-0ubuntu65.1\", \"matchCriteriaId\": \"C9F0F988-E8C8-451B-9710-1B8932C12996\"}]}]}]",
      "descriptions": "[{\"lang\": \"en\", \"value\": \"It was discovered that the get_modified_conffiles() function in backends/packaging-apt-dpkg.py allowed injecting modified package names in a manner that would confuse the dpkg(1) call.\"}, {\"lang\": \"es\", \"value\": \"Se ha detectado que la funci\\u00f3n get_modified_conffiles() en el archivo backends/packaging-apt-dpkg.py permit\\u00eda inyectar nombres de paquetes modificados de forma que se confund\\u00eda la llamada a dpkg(1)\"}]",
      "id": "CVE-2021-32556",
      "lastModified": "2024-11-21T06:07:15.803",
      "metrics": "{\"cvssMetricV31\": [{\"source\": \"security@ubuntu.com\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N\", \"baseScore\": 3.8, \"baseSeverity\": \"LOW\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"CHANGED\", \"confidentialityImpact\": \"LOW\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 2.0, \"impactScore\": 1.4}, {\"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:L/A:N\", \"baseScore\": 3.3, \"baseSeverity\": \"LOW\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"LOW\", \"availabilityImpact\": \"NONE\"}, \"exploitabilityScore\": 1.8, \"impactScore\": 1.4}], \"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}]}",
      "published": "2021-06-12T04:15:12.390",
      "references": "[{\"url\": \"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904\", \"source\": \"security@ubuntu.com\", \"tags\": [\"Vendor Advisory\"]}, {\"url\": \"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Vendor Advisory\"]}]",
      "sourceIdentifier": "security@ubuntu.com",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"security@ubuntu.com\", \"type\": \"Secondary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-78\"}]}, {\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"CWE-78\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2021-32556\",\"sourceIdentifier\":\"security@ubuntu.com\",\"published\":\"2021-06-12T04:15:12.390\",\"lastModified\":\"2024-11-21T06:07:15.803\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"It was discovered that the get_modified_conffiles() function in backends/packaging-apt-dpkg.py allowed injecting modified package names in a manner that would confuse the dpkg(1) call.\"},{\"lang\":\"es\",\"value\":\"Se ha detectado que la funci\u00f3n get_modified_conffiles() en el archivo backends/packaging-apt-dpkg.py permit\u00eda inyectar nombres de paquetes modificados de forma que se confund\u00eda la llamada a dpkg(1)\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@ubuntu.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N\",\"baseScore\":3.8,\"baseSeverity\":\"LOW\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.0,\"impactScore\":1.4},{\"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:L/A:N\",\"baseScore\":3.3,\"baseSeverity\":\"LOW\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":1.4}],\"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-78\"}]},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-78\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.14.1-0ubuntu3\",\"versionEndExcluding\":\"2.14.1-0ubuntu3.29\\\\+esm7\",\"matchCriteriaId\":\"15384D7F-D81C-46B4-8F98-70FD9F1201E0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.20.1\",\"versionEndExcluding\":\"2.20.1-0ubuntu2.30\\\\+esm1\",\"matchCriteriaId\":\"64C72114-B15D-441E-A742-19A7D7A341CA\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.20.9\",\"versionEndExcluding\":\"2.20.9-0ubuntu7.24\",\"matchCriteriaId\":\"8F6CEE83-29FB-4B02-A31D-E23079AFC2A6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.20.11-0ubuntu27\",\"versionEndExcluding\":\"2.20.11-0ubuntu27.18\",\"matchCriteriaId\":\"3BD90405-8C94-43F2-BBF8-FFB695B9181C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.20.11-0ubuntu50\",\"versionEndExcluding\":\"2.20.11-0ubuntu50.7\",\"matchCriteriaId\":\"BB003A8B-8290-4BBA-8C0D-64E208ABBEFE\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:canonical:apport:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.20.11-0ubuntu65\",\"versionEndExcluding\":\"2.20.11-0ubuntu65.1\",\"matchCriteriaId\":\"C9F0F988-E8C8-451B-9710-1B8932C12996\"}]}]}],\"references\":[{\"url\":\"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904\",\"source\":\"security@ubuntu.com\",\"tags\":[\"Vendor Advisory\"]},{\"url\":\"https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1917904\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Vendor Advisory\"]}]}}",
    "redhat_vex": {
      "current_release_date": "2026-03-27T14:03:08+00:00",
      "cve": "CVE-2021-32556",
      "id": "CVE-2021-32556",
      "initial_release_date": "2021-05-25T00:00:00+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "apport get_modified_conffiles() function command injection",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-32556.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "low",
      "current_release_date": "2025-04-25T04:40:29Z",
      "cve": "CVE-2021-32556",
      "id": "CVE-2021-32556",
      "initial_release_date": "2023-02-15T03:41:04Z",
      "product_status:known_not_affected": "8",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2021-32556",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2021-32556.json",
      "version": "7"
    }
  }
}



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…

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…