|
| 1 | +{ |
| 2 | + "SchemaVersion": 2, |
| 3 | + "ArtifactName": "testdata/fixtures/repo/swift", |
| 4 | + "ArtifactType": "repository", |
| 5 | + "Metadata": { |
| 6 | + "ImageConfig": { |
| 7 | + "architecture": "", |
| 8 | + "created": "0001-01-01T00:00:00Z", |
| 9 | + "os": "", |
| 10 | + "rootfs": { |
| 11 | + "type": "", |
| 12 | + "diff_ids": null |
| 13 | + }, |
| 14 | + "config": {} |
| 15 | + } |
| 16 | + }, |
| 17 | + "Results": [ |
| 18 | + { |
| 19 | + "Target": "Package.resolved", |
| 20 | + "Class": "lang-pkgs", |
| 21 | + "Type": "swift", |
| 22 | + "Packages": [ |
| 23 | + { |
| 24 | + "ID": "github.com/apple/ [email protected]", |
| 25 | + "Name": "github.com/apple/swift-atomics", |
| 26 | + "Version": "1.1.0", |
| 27 | + "Layer": {}, |
| 28 | + "Locations": [ |
| 29 | + { |
| 30 | + "StartLine": 4, |
| 31 | + "EndLine": 12 |
| 32 | + } |
| 33 | + ] |
| 34 | + }, |
| 35 | + { |
| 36 | + "ID": "github.com/apple/ [email protected]", |
| 37 | + "Name": "github.com/apple/swift-nio", |
| 38 | + "Version": "2.41.0", |
| 39 | + "Layer": {}, |
| 40 | + "Locations": [ |
| 41 | + { |
| 42 | + "StartLine": 13, |
| 43 | + "EndLine": 21 |
| 44 | + } |
| 45 | + ] |
| 46 | + } |
| 47 | + ], |
| 48 | + "Vulnerabilities": [ |
| 49 | + { |
| 50 | + "VulnerabilityID": "CVE-2022-3215", |
| 51 | + "PkgID": "github.com/apple/ [email protected]", |
| 52 | + "PkgName": "github.com/apple/swift-nio", |
| 53 | + "InstalledVersion": "2.41.0", |
| 54 | + "FixedVersion": "2.29.1, 2.39.1, 2.42.0", |
| 55 | + "Status": "fixed", |
| 56 | + "Layer": {}, |
| 57 | + "PrimaryURL": "https://avd.aquasec.com/nvd/cve-2022-3215", |
| 58 | + "Title": "SwiftNIO vulnerable to Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting')", |
| 59 | + "Description": "`NIOHTTP1` and projects using it for generating HTTP responses, including SwiftNIO, can be subject to a HTTP Response Injection attack...", |
| 60 | + "Severity": "MEDIUM", |
| 61 | + "CVSS": { |
| 62 | + "ghsa": { |
| 63 | + "V3Vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", |
| 64 | + "V3Score": 5.3 |
| 65 | + } |
| 66 | + }, |
| 67 | + "References": [ |
| 68 | + "https://github.com/apple/swift-nio/security/advisories/GHSA-7fj7-39wj-c64f", |
| 69 | + "https://nvd.nist.gov/vuln/detail/CVE-2022-3215", |
| 70 | + "https://github.com/apple/swift-nio/commit/a16e2f54a25b2af217044e5168997009a505930f", |
| 71 | + "https://github.com/advisories/GHSA-7fj7-39wj-c64f" |
| 72 | + ], |
| 73 | + "PublishedDate": "2023-06-07T16:01:53Z", |
| 74 | + "LastModifiedDate": "2023-06-19T16:45:07Z" |
| 75 | + } |
| 76 | + ] |
| 77 | + } |
| 78 | + ] |
| 79 | +} |
0 commit comments