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

add description for commented lines in checkers #1349

Closed
27 tasks
peb-peb opened this issue Aug 19, 2021 · 10 comments
Closed
27 tasks

add description for commented lines in checkers #1349

peb-peb opened this issue Aug 19, 2021 · 10 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@peb-peb
Copy link
Contributor

peb-peb commented Aug 19, 2021

In #1189, we dicussed to add # Alternate optional contains patterns, see <link to helper script docs> for more details in checkers where we have commented out strings in CONTAINS_PATTERNS, but it was not merged with #1189. So, the task for anyone who wants to work on this would be:

  • to add # Alternate optional contains patterns, see <link to helper script docs> for more details in checkers which have strings commented out in them.

Also, not every checker which do not have strings in CONTAINS_PATTERNS was searched and looked into in #1189. So, just putting the list down here to search in for those checkers:

  • expat
  • ffmpeg
  • gcc
  • gimp
  • gnupg
  • haproxy
  • hostpad
  • icecast
  • libssh2
  • libvirt
  • memchand
  • netpbm
  • openafs
  • openldap
  • openssh
  • openvpn
  • polarssl_fedora
  • postgresql
  • qt
  • radare2
  • rsyslog
  • samba
  • strongswan
  • tcpdump
  • varnish
  • wireshark
@terriko terriko added the good first issue Good for newcomers label Aug 26, 2021
@terriko terriko added this to the future milestone Oct 13, 2021
@snosratiershad
Copy link
Contributor

Hey,
I'm going to work on this issue.

@peb-peb
Copy link
Contributor Author

peb-peb commented May 18, 2022

Go ahead! If you have any problems regarding this, feel free to ask it here or on our communication channel.

@snosratiershad
Copy link
Contributor

@peb-peb, is https://github.com/intel/cve-bin-tool/tree/main/cve_bin_tool/checkers#helper-script the expected link to helper script docs? I couldn't found it's copy on https://cve-bin-tool.readthedocs.io.

@peb-peb
Copy link
Contributor Author

peb-peb commented May 24, 2022

@snosratiershad yup! that is the link for the docs.

@snosratiershad
Copy link
Contributor

snosratiershad commented May 26, 2022

@peb-peb, I tried to find contains patterns with helper script on radare2, gimp, expat, ... but almost everytime it returns blank list. should I install or compile codebase of this packages and finally find patterns with analyzing strings in binary files? (for example using strings of gnu development tools). I tested it for contains patterns of current checkers and always found them in binary files.

@peb-peb
Copy link
Contributor Author

peb-peb commented May 26, 2022

If the helper-script is failing in finding any appropriate patterns, then Yes, you would have to do it manually by extracting and searching for possible patterns.

I'll also check for these (i.e. radare2, gimp, expat) and see why the script is returning an empty array.

@snosratiershad
Copy link
Contributor

snosratiershad commented Jun 8, 2022

@peb-peb, I just noticed that wireshark, ffmpeg, ... has already CONTAINS_PATTERNS. should we update them?

@snosratiershad
Copy link
Contributor

@peb-peb, @terriko Also I think I've found why helper script couldn't found related information about CONTAINS_PATTERNS of too many versions and types of expat package, that I've tested. are we looking for libexpats checkers all this times?

@terriko
Copy link
Contributor

terriko commented Oct 25, 2022

It looks like this is pretty much done and safe to close. @anthonyharrison says we might have missed openLDAP so I'll open a separate issue for that.

@terriko terriko closed this as completed Oct 25, 2022
@terriko
Copy link
Contributor

terriko commented Oct 25, 2022

Hm, openLDAP looks ok to me (no commented lines) so I'm just gonna leave it as is.

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

No branches or pull requests

3 participants