I received a message about Heroku vulnerability:
https://www.ruby-lang.org/en/news/2014/03/29/heap-overflow-in-yaml-uri-escape-parsing-cve-2014-2525/?mkt_tok=3RkMMJWWfF9wsRonuKjAZKXonjHpfsX%2B6u8vXO% % 2F0ER3fOvrPUfGjI4ASsNjI% 2BSLDwEYGJlv6SgFQrjAMapmyLgLUhE% 3D
The email says:
Check if you have touched
Run the following in your application:
$ heroku run "ruby -rpsych -e \"p Psych.libyaml_version.join(‘.’)\"" -a <app name>
If you see the following error message, then you are not vulnerable and can ignore the rest of this message:
<internal:lib/rubygems/custom_require>:29:in `require': no such file to load -- psych (LoadError) from <internal:lib/rubygems/custom_require>:29:in `require'
Unfortunately, when I launched it, an error occurred (using Mac):
-bash: syntax error near unexpected token `('
How to run the command line correctly? Thank.
: " ’
"
’
: " '
'
Source: https://habr.com/ru/post/1535295/More articles:How to import a multi-module project into IntelliJ IDEA? - intellij-ideaMigrating a Grails database to a deployed server - databaseis it safe to subtract unsigned integers? - cWhy not heapsort lg (n!)? - algorithmConvert black and white array to image in python? - pythonCSS gets the second element by class Name without JS - htmlAsp.Net MVC how to get error code - c #The right example of left navigation - twitter-bootstrapShipping Method Magento Download Speed - phpПоиск файлов, которые конфликтуют или локально редактируются во время git слияния - gitAll Articles