{"api_version":"1","generated_at":"2026-07-23T23:58:00+00:00","cve":"CVE-2021-42522","urls":{"html":"https://cve.report/CVE-2021-42522","api":"https://cve.report/api/cve/CVE-2021-42522.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-42522","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-42522"},"summary":{"title":"CVE-2021-42522","description":"There is a Information Disclosure vulnerability in anjuta/plugins/document-manager/anjuta-bookmarks.c. This issue was caused by the incorrect use of libxml2 API. The vendor forgot to call 'g_free()' to release the return value of 'xmlGetProp()'.","state":"PUBLIC","assigner":"patrick@puiterwijk.org","published_at":"2022-08-25 18:15:00","updated_at":"2023-07-18 13:51:00"},"problem_types":["CWE-401"],"metrics":[],"references":[{"url":"https://gitlab.gnome.org/GNOME/anjuta/-/issues/12","name":"https://gitlab.gnome.org/GNOME/anjuta/-/issues/12","refsource":"MISC","tags":[],"title":"Potential memory leak: forgetting to free the return value of libxml2 API ‘xmlGetProp’ (#12) · Issues · Archive / anjuta · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42522","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42522","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"42522","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnome","cpe5":"anjuta","cpe6":"2.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-42522","ASSIGNER":"patrick@puiterwijk.org","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"GNOME anjuta","version":{"version_data":[{"version_value":"anjuta - 2.0.0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-200"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://gitlab.gnome.org/GNOME/anjuta/-/issues/12","url":"https://gitlab.gnome.org/GNOME/anjuta/-/issues/12"}]},"description":{"description_data":[{"lang":"eng","value":"There is a Information Disclosure vulnerability in anjuta/plugins/document-manager/anjuta-bookmarks.c. This issue was caused by the incorrect use of libxml2 API. The vendor forgot to call 'g_free()' to release the return value of 'xmlGetProp()'."}]}},"nvd":{"publishedDate":"2022-08-25 18:15:00","lastModifiedDate":"2023-07-18 13:51:00","problem_types":["CWE-401"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnome:anjuta:2.0.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"42522","Ordinal":"219001","Title":"CVE-2021-42522","CVE":"CVE-2021-42522","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"42522","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}