Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script security-checker security:check returned with error code 1 #851

Closed
ZielinskiLukasz opened this issue Aug 16, 2018 · 4 comments
Closed

Comments

@ZielinskiLukasz
Copy link

Project created using:
composer create-project symfony/symfony-demo

Composer version 1.7.2

returns an error:

Executing script security-checker security:check [KO]
 [KO]
Script security-checker security:check returned with error code 1
!!  
!!  Symfony Security Check Report
!!  =============================
!!  
!!   // Checked file: symfony-demo/composer.lock
!!  
!!   [ERROR] 1 packages have known vulnerabilities.                                 
!!  
!!  symfony/http-foundation (v4.1.1)
!!  --------------------------------
!!  
!!   * CVE-2018-14773: CVE-2018-14773: Remove support for legacy and risky HTTP headers
!!     https://symfony.com/blog/cve-2018-14773-remove-support-for-legacy-and-risky-http-headers
!!  
!!   ! [NOTE] This checker can only detect vulnerabilities that are referenced in   
!!   !        the SensioLabs security advisories database. Execute this command     
!!   !        regularly to check the newly discovered vulnerabilities.              
!!  
!!  
Script @auto-scripts was called via post-install-cmd

Composer update
fixes the problem

@meysholdt
Copy link

just ran into this, too.

@ZielinskiLukasz
Copy link
Author

Forcing http-foundation version > v4.1.1 would help.

@stof
Copy link
Member

stof commented Aug 17, 2018

that's because #846 is not merged yet

@javiereguiluz
Copy link
Member

Closing because #846 has just been merged. Please, report any other issue that you may find related to this. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants