{"answers":{"affected":"","exploited":"There is no known exploitation of DRUPAL-CONTRIB-2022-019 in the wild and no public exploit code.","fix":"No fix published yet.","what":"DRUPAL-CONTRIB-2022-019 is a vulnerability in drupal/vendor_stream_wrapper, published on 25 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for DRUPAL-CONTRIB-2022-019 and fix it if it is affected.\n\nWhat it is: DRUPAL-CONTRIB-2022-019 is a vulnerability in drupal/vendor_stream_wrapper, published on 25 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of DRUPAL-CONTRIB-2022-019 in the wild and no public exploit code.\n\nAffected product: drupal/vendor_stream_wrapper. No package-level version data is available, so check the vendor advisory linked from the reference page.\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/DRUPAL-CONTRIB-2022-019/ (Markdown: https://insights.sbomify.com/DRUPAL-CONTRIB-2022-019/index.md)","id":"DRUPAL-CONTRIB-2022-019","markdown":"https://insights.sbomify.com/DRUPAL-CONTRIB-2022-019/index.md","name":"DRUPAL-CONTRIB-2022-019","record":{"aliases":[],"analysis":{"component_type":"cms_plugin","fix_type":"no_fix_stated","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Drupal vendor stream wrapper","requires_auth":"none","summary":"The module exposes vendor directory files via public URLs, allowing attackers to read sensitive files without authentication.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"This module provides a stream wrapper for files located in the vendor directory. Even when the vendor directory is moved outside the webroot, it allows providing publically accessible URLs to these files.\n\nThe module exposes all files that are in the vendor directory, without a site owner's knowledge or intention. This could be undesirable behavior, especially since this module is required as a dependency by other modules.\n\n*Edited October 24, 2023 after the project has been re-supported by new maintainers and this advisory metadata affects composer.*\n\n~~The security team is marking this project unsupported. There is a known security issue with the project that has not been fixed by the maintainer. If you would like to maintain this project, please read: \u003chttps://www.drupal.org/node/251466#procedure---own-project---unsupported\u003e~~","ecosystems":["Packagist:https://packages.drupal.org/8"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"This module provides a stream wrapper for files located in the vendor directory.","id":"DRUPAL-CONTRIB-2022-019","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"Packagist:https://packages.drupal.org/8","fixed":["2.0.1"],"introduced":["0"],"last_affected":[],"package":"drupal/vendor_stream_wrapper","purl":"pkg:composer/drupal/vendor_stream_wrapper?repository_url=https:%2F%2Fpackages.drupal.org%2F8","source":"DRUPAL-CONTRIB-2022-019"}],"products":null,"published":"2022-01-25","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"Drupal","prefix":"DRUPAL"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"The module exposes vendor directory files via public URLs, allowing attackers to read sensitive files without authentication.","url":"https://insights.sbomify.com/DRUPAL-CONTRIB-2022-019/"}