{"answers":{"affected":"2 open source packages ship an affected version, including cairo. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-7475 in the wild and no public exploit code.","fix":"Upgrade cairo to 1.15.5 or later.","what":"CVE-2017-7475 is a medium-severity vulnerability in Red Hat, Inc. Cairo, published on 19 May 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2017-7475 and fix it if it is affected.\n\nWhat it is: CVE-2017-7475 is a medium-severity vulnerability in Red Hat, Inc. Cairo, published on 19 May 2017. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2017-7475 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- cairo (RubyGems): affected from 1.15.4; fixed in 1.15.5\n- cairo (RubyGems): affected from 1.15.4; fixed in 1.15.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2017-7475/ (Markdown: https://insights.sbomify.com/CVE-2017-7475/index.md)","id":"CVE-2017-7475","markdown":"https://insights.sbomify.com/CVE-2017-7475/index.md","name":"CVE-2017-7475","record":{"aliases":["DEBIAN-CVE-2017-7475","ECHO-36d1-db60-5570","GHSA-5v3f-73gv-x7x5","MGASA-2020-0359","UBUNTU-CVE-2017-7475"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Cairo graphics library","requires_auth":"none","summary":"A NULL pointer dereference in Cairo allows attackers to cause a denial of service via crafted glyph rendering requests.","user_interaction":"required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"cairo","vendor":"cairographics"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"Cairo version 1.15.4 is vulnerable to a NULL pointer dereference related to the FT_Load_Glyph and FT_Render_Glyph resulting in an application crash.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"cairo is vulnerable to denial of service due to a null pointer dereference","id":"CVE-2017-7475","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"null_dereference","year":"2017"},"n_packages":2,"n_references":4,"next":{"headline":"Memory corruption in Gnulib before 2017-04-26","id":"CVE-2017-7476"},"packages":[{"ecosystem":"RubyGems","fixed":["1.15.5"],"introduced":["1.15.4"],"last_affected":[],"package":"cairo","purl":null,"source":"GHSA-5v3f-73gv-x7x5"},{"ecosystem":"RubyGems","fixed":["1.15.5"],"introduced":["1.15.4"],"last_affected":[],"package":"cairo","purl":"pkg:gem/cairo","source":"GHSA-5v3f-73gv-x7x5"}],"prev":{"headline":"keycloak-connect and keycloak-js improperly handle invalid tokens","id":"CVE-2017-7474"},"products":["Cairo"],"published":"2017-05-19","related":[{"cvss_score":7.8,"headline":"Memory corruption in cairo","id":"CVE-2020-35492","kev_date_added":null,"published":"2021-03-18"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2017-9814","kev_date_added":null,"published":"2017-07-14"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2016-3190","kev_date_added":null,"published":"2016-04-21"},{"cvss_score":6.5,"headline":"Denial of service in n/a","id":"CVE-2019-6461","kev_date_added":null,"published":"2019-01-16"},{"cvss_score":6.5,"headline":"Denial of service in n/a","id":"CVE-2019-6462","kev_date_added":null,"published":"2019-01-16"},{"cvss_score":6.5,"headline":"Use after free in n/a","id":"CVE-2018-19876","kev_date_added":null,"published":"2018-12-05"},{"cvss_score":6.5,"headline":"Memory corruption in n/a","id":"CVE-2018-18064","kev_date_added":null,"published":"2018-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["Red Hat, Inc."]},"summary":"A NULL pointer dereference in Cairo allows attackers to cause a denial of service via crafted glyph rendering requests.","url":"https://insights.sbomify.com/CVE-2017-7475/"}