Created
October 10, 2019 18:28
-
-
Save conikeec/e27ac7008f409b20aa71ece7312ad93e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// create a CPG for the accompanying socket server project | |
val serverCpg = createCpgAndSp("/Users/chetanconikee/slgithub/CVE-2017-5645/Log4jSocketServer.jar") | |
res1: Workspace = | |
__________________________________________________________________________________________ | |
| name | overlays | loaded| | |
|=========================================================================================| | |
| Log4jSocketServer.jar | semanticcpg(l),dataflow(l),tagging(l),securityprofile(l)| true | | |
// if you happen to be using another project that utlizes the socket server | |
val clientCpg = createCpgAndSp("[client-project]") | |
// get active CVEs via BOM (Bill of Materials/Open source dependencies) for clientCpg and | |
// identify if it's succeptible to CVE-2017-5645 | |
getBOM(clientCpg) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment