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

Suggest Article needed about security checks in perl cpan modules #147

Open
kolbma opened this issue Sep 22, 2018 · 3 comments
Open

Suggest Article needed about security checks in perl cpan modules #147

kolbma opened this issue Sep 22, 2018 · 3 comments
Labels
new article: idea A proposal for an article

Comments

@kolbma
Copy link

kolbma commented Sep 22, 2018

I've been away from perl development for many, many years, but I'm wondering if there is really missed any possibility to check installed CPAN modules for reported security problems and update the modules if fixes are applied to an updated module?!

@dnmfarrell dnmfarrell added community: hacktoberfest Good issues for drive-by contributions during Hacktoberfest and removed community: hacktoberfest Good issues for drive-by contributions during Hacktoberfest labels Sep 30, 2018
@briandfoy
Copy link
Contributor

I don't know of a way to do this in general. Some operating system package managers might do that though.

@kolbma
Copy link
Author

kolbma commented Oct 12, 2018

Well there is CVE and in Java/Maven and Node/NPM there is at least one utitlity which checks the versions against reported vulnerabilities in CVE DBs. Also Github has the feature to report repository owners if there is a vulnerable version used in the NPM-based-project-repo.

I've found https://github.com/vti/cpan-security-advisory
But it seems to be some 3rd party closed source service.

What is being done against hacked developer accounts? Are the modules trustworthy? There is no information available.

@dnmfarrell dnmfarrell removed community: hacktoberfest Good issues for drive-by contributions during Hacktoberfest labels Nov 1, 2018
@briandfoy briandfoy added the new article: idea A proposal for an article label Jul 7, 2020
@ghost
Copy link

ghost commented Jul 14, 2020

Hi,
I am here after 2 years, I think it could be done creating an interface to various CVE database sites ( i.e https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=perl, the "keyword" parameter can be modified though input) and, foreach module installed search the url, a practical example would be something like:

foreach ( list_of_modules){
if (is found_link in ("https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=" . $) ){
do_something; # like upgrade the $

}
Maybe I'll write an article on it, I was thinking also about a script which check automatically if every new module on cpan uses the "strict" and "warning" (using the raw "source" link).

Edoardo M.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new article: idea A proposal for an article
Projects
None yet
Development

No branches or pull requests

3 participants