Skip to content

Commit

Permalink
improvements to perl CVE version ranges
Browse files Browse the repository at this point in the history
Signed-off-by: Weston Steimel <[email protected]>
  • Loading branch information
westonsteimel committed Sep 20, 2024
1 parent 6a08da4 commit 0e218f2
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 0 deletions.
65 changes: 65 additions & 0 deletions data/anchore/2023/CVE-2023-47038.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"additionalMetadata": {
"cna": "redhat",
"cveId": "CVE-2023-47038",
"description": "A vulnerability was found in perl 5.30.0 through 5.38.0. This issue occurs when a crafted regular expression is compiled by perl, which can allow an attacker controlled byte buffer overflow in a heap allocated buffer.",
"reason": "Correct version ranges to account for backported fixes",
"references": [
"https://access.redhat.com/errata/RHSA-2024:2228",
"https://access.redhat.com/errata/RHSA-2024:3128",
"https://access.redhat.com/security/cve/CVE-2023-47038",
"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056746",
"https://bugzilla.redhat.com/show_bug.cgi?id=2249523"
]
},
"adp": {
"affected": [
{
"cpes": [
"cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*"
],
"product": "perl",
"repo": "https://github.com/Perl/perl5",
"vendor": "perl",
"versions": [
{
"lessThan": "5.38.1",
"status": "affected",
"version": "5.37",
"versionType": "custom"
},
{
"lessThan": "5.36.2",
"status": "affected",
"version": "5.35",
"versionType": "custom"
},
{
"lessThan": "5.34.2",
"status": "affected",
"version": "5.30",
"versionType": "custom"
}
]
}
],
"providerMetadata": {
"orgId": "00000000-0000-4000-8000-000000000000",
"shortName": "anchoreadp"
},
"references": [
{
"url": "https://github.com/Perl/perl5/commit/92a9eb3d0d52ec7655c1beb29999a5a5219be664"
},
{
"url": "https://github.com/Perl/perl5/commit/7047915eef37fccd93e7cd985c29fe6be54650b6"
},
{
"url": "https://github.com/Perl/perl5/commit/12c313ce49b36160a7ca2e9b07ad5bd92ee4a010"
},
{
"url": "https://github.com/Perl/perl5/commit/ff1f9f59360afeebd6f75ca1502f5c3ebf077da3"
}
]
}
}
66 changes: 66 additions & 0 deletions data/anchore/2023/CVE-2023-47100.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"additionalMetadata": {
"cna": "mitre",
"cveId": "CVE-2023-47100",
"description": "In Perl before 5.38.2, S_parse_uniprop_string in regcomp.c can write to unallocated space because a property name associated with a \\p{...} regular expression construct is mishandled. The earliest affected version is 5.30.0.",
"reason": "This is a duplicate of CVE-2023-47038",
"references": [
"https://github.com/Perl/perl5/commit/12c313ce49b36160a7ca2e9b07ad5bd92ee4a010",
"https://github.com/Perl/perl5/commit/7047915eef37fccd93e7cd985c29fe6be54650b6",
"https://github.com/Perl/perl5/commit/ff1f9f59360afeebd6f75ca1502f5c3ebf077da3"
],
"toDos": [
"Create a way to mark this as a duplicate of CVE-2023-47038"
]
},
"adp": {
"affected": [
{
"cpes": [
"cpe:2.3:a:perl:perl:*:*:*:*:*:*:*:*"
],
"product": "perl",
"repo": "https://github.com/Perl/perl5",
"vendor": "perl",
"versions": [
{
"lessThan": "5.38.1",
"status": "affected",
"version": "5.37",
"versionType": "custom"
},
{
"lessThan": "5.36.2",
"status": "affected",
"version": "5.35",
"versionType": "custom"
},
{
"lessThan": "5.34.2",
"status": "affected",
"version": "5.30",
"versionType": "custom"
}
]
}
],
"providerMetadata": {
"orgId": "00000000-0000-4000-8000-000000000000",
"shortName": "anchoreadp"
},
"references": [
{
"url": "https://github.com/Perl/perl5/commit/92a9eb3d0d52ec7655c1beb29999a5a5219be664"
},
{
"url": "https://github.com/Perl/perl5/commit/7047915eef37fccd93e7cd985c29fe6be54650b6"
},
{
"url": "https://github.com/Perl/perl5/commit/12c313ce49b36160a7ca2e9b07ad5bd92ee4a010"
},
{
"url": "https://github.com/Perl/perl5/commit/ff1f9f59360afeebd6f75ca1502f5c3ebf077da3"
}
]
}
}

0 comments on commit 0e218f2

Please sign in to comment.