{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/218766?format=json","vulnerability_id":"VCID-ef6p-kebd-mbeb","summary":"In Laravel framework through 5.5.21, remote attackers can obtain sensitive information (such as externally usable passwords) via a direct request for the /.env URI. NOTE: this CVE is only about Laravel framework's writeNewEnvironmentFileWith function in src/Illuminate/Foundation/Console/KeyGenerateCommand.php, which uses file_put_contents without restricting the .env permissions. The .env filename is not used exclusively by Laravel framework.","aliases":[{"alias":"CVE-2017-16894"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/99216?format=json","purl":"pkg:deb/debian/php-laravel-framework@0?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-laravel-framework@0%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/99219?format=json","purl":"pkg:deb/debian/php-laravel-framework@10.48.29%2Bdfsg-1?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-laravel-framework@10.48.29%252Bdfsg-1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/99218?format=json","purl":"pkg:deb/debian/php-laravel-framework@11.46.1%2Bdfsg-4?distro=trixie","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-laravel-framework@11.46.1%252Bdfsg-4%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/99217?format=json","purl":"pkg:deb/debian/php-laravel-framework@6.20.14%2Bdfsg-2%2Bdeb11u1?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2ujb-xr8g-uqb4"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-laravel-framework@6.20.14%252Bdfsg-2%252Bdeb11u1%3Fdistro=trixie"},{"url":"http://public2.vulnerablecode.io/api/packages/99215?format=json","purl":"pkg:deb/debian/php-laravel-framework@8.83.26%2Bdfsg-2?distro=trixie","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-2ujb-xr8g-uqb4"},{"vulnerability":"VCID-u7f4-wtvf-gkbf"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:deb/debian/php-laravel-framework@8.83.26%252Bdfsg-2%3Fdistro=trixie"}],"affected_packages":[],"references":[],"weaknesses":[],"exploits":[],"severity_range_score":null,"exploitability":null,"weighted_severity":null,"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-ef6p-kebd-mbeb"}