CVE-2021-42523 (GCVE-0-2021-42523)

Vulnerability from cvelistv5 – Published: 2022-08-25 17:27 – Updated: 2024-08-04 03:30
VLAI
Summary
There are two Information Disclosure vulnerabilities in colord, and they lie in colord/src/cd-device-db.c and colord/src/cd-profile-db.c separately. They exist because the 'err_msg' of 'sqlite3_exec' is not releasing after use, while libxml2 emphasizes that the caller needs to release it.
CWE
References
Impacted products
Vendor Product Version CPE status
n/a colord Affected: colord - 1.4.4, 1.4.5
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T03:30:38.667Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "https://github.com/hughsie/colord/issues/110"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "colord",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "colord - 1.4.4, 1.4.5"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "There are two Information Disclosure vulnerabilities in colord, and they lie in colord/src/cd-device-db.c and colord/src/cd-profile-db.c separately. They exist because the \u0027err_msg\u0027 of \u0027sqlite3_exec\u0027 is not releasing after use, while libxml2 emphasizes that the caller needs to release it."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-200",
              "description": "CWE-200",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2022-08-25T17:27:21.000Z",
        "orgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
        "shortName": "fedora"
      },
      "references": [
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/hughsie/colord/issues/110"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "patrick@puiterwijk.org",
          "ID": "CVE-2021-42523",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "colord",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "colord - 1.4.4, 1.4.5"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "There are two Information Disclosure vulnerabilities in colord, and they lie in colord/src/cd-device-db.c and colord/src/cd-profile-db.c separately. They exist because the \u0027err_msg\u0027 of \u0027sqlite3_exec\u0027 is not releasing after use, while libxml2 emphasizes that the caller needs to release it."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "CWE-200"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/hughsie/colord/issues/110",
              "refsource": "MISC",
              "url": "https://github.com/hughsie/colord/issues/110"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "92fb86c3-55a5-4fb5-9c3f-4757b9e96dc5",
    "assignerShortName": "fedora",
    "cveId": "CVE-2021-42523",
    "datePublished": "2022-08-25T17:27:21.000Z",
    "dateReserved": "2021-10-15T00:00:00.000Z",
    "dateUpdated": "2024-08-04T03:30:38.667Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2021-42523",
      "date": "2026-10-07",
      "epss": "0.00915",
      "percentile": "0.58923"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:colord_project:colord:1.4.4:*:*:*:*:*:*:*",
                  "matchCriteriaId": "3E226351-6F3B-47C1-9E4A-72398A194CA5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:colord_project:colord:1.4.5:*:*:*:*:*:*:*",
                  "matchCriteriaId": "5F0E84AE-F68D-4AE7-B284-3D0A1B1BF175",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "There are two Information Disclosure vulnerabilities in colord, and they lie in colord/src/cd-device-db.c and colord/src/cd-profile-db.c separately. They exist because the \u0027err_msg\u0027 of \u0027sqlite3_exec\u0027 is not releasing after use, while libxml2 emphasizes that the caller needs to release it."
        },
        {
          "lang": "es",
          "value": "Se presentan dos vulnerabilidades de divulgaci\u00f3n de informaci\u00f3n en colord, y son encontradas en los archivos colord/src/cd-device-db.c y colord/src/cd-profile-db.c por separado. Se presentan porque el \"err_msg\" de \"sqlite3_exec\" no es liberado despu\u00e9s de su uso, mientras que libxml2 enfatiza que el llamador debe liberarlo."
        }
      ],
      "id": "CVE-2021-42523",
      "lastModified": "2024-11-21T06:27:43.930",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2022-08-25T18:15:09.260",
      "references": [
        {
          "source": "patrick@puiterwijk.org",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/hughsie/colord/issues/110"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit",
            "Issue Tracking",
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://github.com/hughsie/colord/issues/110"
        }
      ],
      "sourceIdentifier": "patrick@puiterwijk.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-200"
            }
          ],
          "source": "patrick@puiterwijk.org",
          "type": "Secondary"
        },
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-401"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "product": "colord",
                "vendor": "n/a",
                "versions": [
                  {
                    "status": "affected",
                    "version": "colord - 1.4.4, 1.4.5"
                  }
                ]
              }
            ],
            "source": "patrick@puiterwijk.org"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:colord_project:colord:1.4.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3E226351-6F3B-47C1-9E4A-72398A194CA5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:colord_project:colord:1.4.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5F0E84AE-F68D-4AE7-B284-3D0A1B1BF175",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "There are two Information Disclosure vulnerabilities in colord, and they lie in colord/src/cd-device-db.c and colord/src/cd-profile-db.c separately. They exist because the \u0027err_msg\u0027 of \u0027sqlite3_exec\u0027 is not releasing after use, while libxml2 emphasizes that the caller needs to release it."
          },
          {
            "lang": "es",
            "value": "Se presentan dos vulnerabilidades de divulgaci\u00f3n de informaci\u00f3n en colord, y son encontradas en los archivos colord/src/cd-device-db.c y colord/src/cd-profile-db.c por separado. Se presentan porque el \"err_msg\" de \"sqlite3_exec\" no es liberado despu\u00e9s de su uso, mientras que libxml2 enfatiza que el llamador debe liberarlo."
          }
        ],
        "id": "CVE-2021-42523",
        "lastModified": "2026-06-17T04:09:45.700",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2022-08-25T18:15:09.260",
        "references": [
          {
            "source": "patrick@puiterwijk.org",
            "tags": [
              "Exploit",
              "Issue Tracking",
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/hughsie/colord/issues/110"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit",
              "Issue Tracking",
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/hughsie/colord/issues/110"
          }
        ],
        "sourceIdentifier": "patrick@puiterwijk.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-200"
              }
            ],
            "source": "patrick@puiterwijk.org",
            "type": "Secondary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-401"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2025-11-21T15:50:31+00:00",
      "cve": "CVE-2021-42523",
      "id": "CVE-2021-42523",
      "initial_release_date": "2021-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "16",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "colord: potential memory leak, forgetting to free error message of libsqlite3 API \u0027sqlite3_exec\u0027 -1",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-42523.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-04T00:45:20Z",
      "cve": "CVE-2021-42523",
      "id": "CVE-2021-42523",
      "initial_release_date": "2023-02-15T03:37:11Z",
      "product_status:recommended": "340",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2021-42523",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2021-42523.json",
      "version": "36"
    }
  }
}



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…