github.com/devseccon/trivy@v0.47.1-0.20231123133102-bd902a0bd996/integration/testdata/npm-with-dev.json.golden (about)

     1  {
     2    "SchemaVersion": 2,
     3    "CreatedAt": "2021-08-25T12:20:30.000000005Z",
     4    "ArtifactName": "testdata/fixtures/repo/npm",
     5    "ArtifactType": "repository",
     6    "Metadata": {
     7      "ImageConfig": {
     8        "architecture": "",
     9        "created": "0001-01-01T00:00:00Z",
    10        "os": "",
    11        "rootfs": {
    12          "type": "",
    13          "diff_ids": null
    14        },
    15        "config": {}
    16      }
    17    },
    18    "Results": [
    19      {
    20        "Target": "package-lock.json",
    21        "Class": "lang-pkgs",
    22        "Type": "npm",
    23        "Packages": [
    24          {
    25            "ID": "asap@2.0.6",
    26            "Name": "asap",
    27            "Version": "2.0.6",
    28            "Indirect": true,
    29            "Layer": {},
    30            "Locations": [
    31              {
    32                "StartLine": 6,
    33                "EndLine": 10
    34              }
    35            ]
    36          },
    37          {
    38            "ID": "jquery@3.3.9",
    39            "Name": "jquery",
    40            "Version": "3.3.9",
    41            "Licenses": [
    42              "MIT"
    43            ],
    44            "Indirect": true,
    45            "Layer": {},
    46            "Locations": [
    47              {
    48                "StartLine": 11,
    49                "EndLine": 15
    50              }
    51            ]
    52          },
    53          {
    54            "ID": "js-tokens@4.0.0",
    55            "Name": "js-tokens",
    56            "Version": "4.0.0",
    57            "Indirect": true,
    58            "Layer": {},
    59            "Locations": [
    60              {
    61                "StartLine": 16,
    62                "EndLine": 20
    63              }
    64            ]
    65          },
    66          {
    67            "ID": "loose-envify@1.4.0",
    68            "Name": "loose-envify",
    69            "Version": "1.4.0",
    70            "Indirect": true,
    71            "DependsOn": [
    72              "js-tokens@4.0.0"
    73            ],
    74            "Layer": {},
    75            "Locations": [
    76              {
    77                "StartLine": 21,
    78                "EndLine": 28
    79              }
    80            ]
    81          },
    82          {
    83            "ID": "object-assign@4.1.1",
    84            "Name": "object-assign",
    85            "Version": "4.1.1",
    86            "Indirect": true,
    87            "Layer": {},
    88            "Locations": [
    89              {
    90                "StartLine": 29,
    91                "EndLine": 33
    92              }
    93            ]
    94          },
    95          {
    96            "ID": "promise@8.0.3",
    97            "Name": "promise",
    98            "Version": "8.0.3",
    99            "Licenses": [
   100              "MIT"
   101            ],
   102            "Indirect": true,
   103            "DependsOn": [
   104              "asap@2.0.6"
   105            ],
   106            "Layer": {},
   107            "Locations": [
   108              {
   109                "StartLine": 34,
   110                "EndLine": 41
   111              }
   112            ]
   113          },
   114          {
   115            "ID": "prop-types@15.7.2",
   116            "Name": "prop-types",
   117            "Version": "15.7.2",
   118            "Indirect": true,
   119            "DependsOn": [
   120              "loose-envify@1.4.0",
   121              "object-assign@4.1.1",
   122              "react-is@16.8.6"
   123            ],
   124            "Layer": {},
   125            "Locations": [
   126              {
   127                "StartLine": 42,
   128                "EndLine": 51
   129              }
   130            ]
   131          },
   132          {
   133            "ID": "react@16.8.6",
   134            "Name": "react",
   135            "Version": "16.8.6",
   136            "Licenses": [
   137              "MIT"
   138            ],
   139            "Indirect": true,
   140            "DependsOn": [
   141              "loose-envify@1.4.0",
   142              "object-assign@4.1.1",
   143              "prop-types@15.7.2",
   144              "scheduler@0.13.6"
   145            ],
   146            "Layer": {},
   147            "Locations": [
   148              {
   149                "StartLine": 52,
   150                "EndLine": 62
   151              }
   152            ]
   153          },
   154          {
   155            "ID": "react-is@16.8.6",
   156            "Name": "react-is",
   157            "Version": "16.8.6",
   158            "Licenses": [
   159              "MIT"
   160            ],
   161            "Indirect": true,
   162            "Layer": {},
   163            "Locations": [
   164              {
   165                "StartLine": 63,
   166                "EndLine": 67
   167              }
   168            ]
   169          },
   170          {
   171            "ID": "redux@4.0.1",
   172            "Name": "redux",
   173            "Version": "4.0.1",
   174            "Licenses": [
   175              "MIT"
   176            ],
   177            "Indirect": true,
   178            "DependsOn": [
   179              "loose-envify@1.4.0",
   180              "symbol-observable@1.2.0"
   181            ],
   182            "Layer": {},
   183            "Locations": [
   184              {
   185                "StartLine": 68,
   186                "EndLine": 76
   187              }
   188            ]
   189          },
   190          {
   191            "ID": "scheduler@0.13.6",
   192            "Name": "scheduler",
   193            "Version": "0.13.6",
   194            "Indirect": true,
   195            "DependsOn": [
   196              "loose-envify@1.4.0",
   197              "object-assign@4.1.1"
   198            ],
   199            "Layer": {},
   200            "Locations": [
   201              {
   202                "StartLine": 77,
   203                "EndLine": 85
   204              }
   205            ]
   206          },
   207          {
   208            "ID": "symbol-observable@1.2.0",
   209            "Name": "symbol-observable",
   210            "Version": "1.2.0",
   211            "Indirect": true,
   212            "Layer": {},
   213            "Locations": [
   214              {
   215                "StartLine": 86,
   216                "EndLine": 90
   217              }
   218            ]
   219          },
   220          {
   221            "ID": "z-lock@1.0.0",
   222            "Name": "z-lock",
   223            "Version": "1.0.0",
   224            "Dev": true,
   225            "Licenses": [
   226              "MIT"
   227            ],
   228            "Indirect": true,
   229            "Layer": {},
   230            "Locations": [
   231              {
   232                "StartLine": 91,
   233                "EndLine": 96
   234              }
   235            ]
   236          }
   237        ],
   238        "Vulnerabilities": [
   239          {
   240            "VulnerabilityID": "CVE-2019-11358",
   241            "PkgID": "jquery@3.3.9",
   242            "PkgName": "jquery",
   243            "InstalledVersion": "3.3.9",
   244            "FixedVersion": "3.4.0",
   245            "Status": "fixed",
   246            "Layer": {},
   247            "SeveritySource": "ghsa",
   248            "PrimaryURL": "https://avd.aquasec.com/nvd/cve-2019-11358",
   249            "DataSource": {
   250              "ID": "ghsa",
   251              "Name": "GitHub Security Advisory Npm",
   252              "URL": "https://github.com/advisories?query=type%3Areviewed+ecosystem%3Anpm"
   253            },
   254            "Title": "jquery: Prototype pollution in object's prototype leading to denial of service, remote code execution, or property injection",
   255            "Description": "jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototype pollution. If an unsanitized source object contained an enumerable __proto__ property, it could extend the native Object.prototype.",
   256            "Severity": "MEDIUM",
   257            "CweIDs": [
   258              "CWE-79"
   259            ],
   260            "CVSS": {
   261              "nvd": {
   262                "V2Vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
   263                "V3Vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
   264                "V2Score": 4.3,
   265                "V3Score": 6.1
   266              },
   267              "redhat": {
   268                "V3Vector": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L",
   269                "V3Score": 5.6
   270              }
   271            },
   272            "References": [
   273              "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html",
   274              "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html",
   275              "http://packetstormsecurity.com/files/152787/dotCMS-5.1.1-Vulnerable-Dependencies.html",
   276              "http://packetstormsecurity.com/files/153237/RetireJS-CORS-Issue-Script-Execution.html",
   277              "http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html",
   278              "http://seclists.org/fulldisclosure/2019/May/10",
   279              "http://seclists.org/fulldisclosure/2019/May/11",
   280              "http://seclists.org/fulldisclosure/2019/May/13",
   281              "http://www.openwall.com/lists/oss-security/2019/06/03/2",
   282              "http://www.securityfocus.com/bid/108023",
   283              "https://access.redhat.com/errata/RHBA-2019:1570",
   284              "https://access.redhat.com/errata/RHSA-2019:1456",
   285              "https://access.redhat.com/errata/RHSA-2019:2587",
   286              "https://access.redhat.com/errata/RHSA-2019:3023",
   287              "https://access.redhat.com/errata/RHSA-2019:3024",
   288              "https://access.redhat.com/security/cve/CVE-2019-11358",
   289              "https://backdropcms.org/security/backdrop-sa-core-2019-009",
   290              "https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/",
   291              "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11358",
   292              "https://github.com/DanielRuf/snyk-js-jquery-174006?files=1",
   293              "https://github.com/advisories/GHSA-6c3j-c64m-qhgq",
   294              "https://github.com/jquery/jquery/commit/753d591aea698e57d6db58c9f722cd0808619b1b",
   295              "https://github.com/jquery/jquery/pull/4333",
   296              "https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#434",
   297              "https://hackerone.com/reports/454365",
   298              "https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44601",
   299              "https://linux.oracle.com/cve/CVE-2019-11358.html",
   300              "https://linux.oracle.com/errata/ELSA-2020-4847.html",
   301              "https://lists.apache.org/thread.html/08720ef215ee7ab3386c05a1a90a7d1c852bf0706f176a7816bf65fc@%3Ccommits.airflow.apache.org%3E",
   302              "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E",
   303              "https://lists.apache.org/thread.html/5928aa293e39d248266472210c50f176cac1535220f2486e6a7fa844@%3Ccommits.airflow.apache.org%3E",
   304              "https://lists.apache.org/thread.html/6097cdbd6f0a337bedd9bb5cc441b2d525ff002a96531de367e4259f@%3Ccommits.airflow.apache.org%3E",
   305              "https://lists.apache.org/thread.html/88fb0362fd40e5b605ea8149f63241537b8b6fb5bfa315391fc5cbb7@%3Ccommits.airflow.apache.org%3E",
   306              "https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E",
   307              "https://lists.apache.org/thread.html/b736d0784cf02f5a30fbb4c5902762a15ad6d47e17e2c5a17b7d6205@%3Ccommits.airflow.apache.org%3E",
   308              "https://lists.apache.org/thread.html/ba79cf1658741e9f146e4c59b50aee56656ea95d841d358d006c18b6@%3Ccommits.roller.apache.org%3E",
   309              "https://lists.apache.org/thread.html/bcce5a9c532b386c68dab2f6b3ce8b0cc9b950ec551766e76391caa3@%3Ccommits.nifi.apache.org%3E",
   310              "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E",
   311              "https://lists.apache.org/thread.html/r2041a75d3fc09dec55adfd95d598b38d22715303f65c997c054844c9@%3Cissues.flink.apache.org%3E",
   312              "https://lists.apache.org/thread.html/r2baacab6e0acb5a2092eb46ae04fd6c3e8277b4fd79b1ffb7f3254fa@%3Cissues.flink.apache.org%3E",
   313              "https://lists.apache.org/thread.html/r38f0d1aa3c923c22977fe7376508f030f22e22c1379fbb155bf29766@%3Cdev.syncope.apache.org%3E",
   314              "https://lists.apache.org/thread.html/r41b5bfe009c845f67d4f68948cc9419ac2d62e287804aafd72892b08@%3Cissues.flink.apache.org%3E",
   315              "https://lists.apache.org/thread.html/r7aac081cbddb6baa24b75e74abf0929bf309b176755a53e3ed810355@%3Cdev.flink.apache.org%3E",
   316              "https://lists.apache.org/thread.html/r7d64895cc4dff84d0becfc572b20c0e4bf9bfa7b10c6f5f73e783734@%3Cdev.storm.apache.org%3E",
   317              "https://lists.apache.org/thread.html/r7e8ebccb7c022e41295f6fdb7b971209b83702339f872ddd8cf8bf73@%3Cissues.flink.apache.org%3E",
   318              "https://lists.apache.org/thread.html/rac25da84ecdcd36f6de5ad0d255f4e967209bbbebddb285e231da37d@%3Cissues.flink.apache.org%3E",
   319              "https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E",
   320              "https://lists.debian.org/debian-lts-announce/2019/05/msg00006.html",
   321              "https://lists.debian.org/debian-lts-announce/2019/05/msg00029.html",
   322              "https://lists.debian.org/debian-lts-announce/2020/02/msg00024.html",
   323              "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UOAZIFCSZ3ENEFOR5IXX6NFAD3HV7FA/",
   324              "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5IABSKTYZ5JUGL735UKGXL5YPRYOPUYI/",
   325              "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KYH3OAGR2RTCHRA5NOKX2TES7SNQMWGO/",
   326              "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QV3PKZC3PQCO3273HAT76PAQZFBEO4KP/",
   327              "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RLXRX23725JL366CNZGJZ7AQQB7LHQ6F/",
   328              "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WZW27UCJ5CYFL4KFFFMYMIBNMIU2ALG5/",
   329              "https://nvd.nist.gov/vuln/detail/CVE-2019-11358",
   330              "https://seclists.org/bugtraq/2019/Apr/32",
   331              "https://seclists.org/bugtraq/2019/Jun/12",
   332              "https://seclists.org/bugtraq/2019/May/18",
   333              "https://security.netapp.com/advisory/ntap-20190919-0001/",
   334              "https://snyk.io/vuln/SNYK-JS-JQUERY-174006",
   335              "https://www.debian.org/security/2019/dsa-4434",
   336              "https://www.debian.org/security/2019/dsa-4460",
   337              "https://www.drupal.org/sa-core-2019-006",
   338              "https://www.oracle.com//security-alerts/cpujul2021.html",
   339              "https://www.oracle.com/security-alerts/cpuApr2021.html",
   340              "https://www.oracle.com/security-alerts/cpuapr2020.html",
   341              "https://www.oracle.com/security-alerts/cpujan2020.html",
   342              "https://www.oracle.com/security-alerts/cpujan2021.html",
   343              "https://www.oracle.com/security-alerts/cpujul2020.html",
   344              "https://www.oracle.com/security-alerts/cpuoct2020.html",
   345              "https://www.oracle.com/security-alerts/cpuoct2021.html",
   346              "https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html",
   347              "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html",
   348              "https://www.privacy-wise.com/mitigating-cve-2019-11358-in-old-versions-of-jquery/",
   349              "https://www.synology.com/security/advisory/Synology_SA_19_19",
   350              "https://www.tenable.com/security/tns-2019-08",
   351              "https://www.tenable.com/security/tns-2020-02"
   352            ],
   353            "PublishedDate": "2019-04-20T00:29:00Z",
   354            "LastModifiedDate": "2021-10-20T11:15:00Z"
   355          }
   356        ]
   357      }
   358    ]
   359  }