Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-rcrx-fpjp-mfrw

Опубликовано: 02 нояб. 2022
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

Unchecked Return Value to NULL Pointer Dereference in PDFDocumentHandler.cpp

Impact

The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another.

Patches

It has been patched in 2.6.0 for muhammara and not at all for hummus

Workarounds

Do not process files from untrusted sources

References

PR: https://github.com/julianhille/MuhammaraJS/pull/194 Issue: https://github.com/julianhille/MuhammaraJS/issues/191 Issue in hummus: https://github.com/galkahana/HummusJS/issues/293

Outline differences to https://nvd.nist.gov/vuln/detail/CVE-2022-25892

The difference is one is in src/deps/PDFWriter/PDFParser.cpp and the other is PDFDocumentHandler.cpp both is a null pointer but for different cases These are totally diffent issues, one is in reading a pdf the other is in appendending a maliciously crafted one. The function calls are different the versions in which they are solved are diffent.

Пакеты

Наименование

muhammara

npm
Затронутые версииВерсия исправления

< 2.6.0

2.6.0

Наименование

hummus

npm
Затронутые версииВерсия исправления

< 1.0.111

1.0.111

EPSS

Процентиль: 47%
0.00237
Низкий

7.5 High

CVSS3

Дефекты

CWE-476
CWE-690

Связанные уязвимости

CVSS3: 7.5
nvd
больше 3 лет назад

Muhammara is a node module with c/cpp bindings to modify PDF with js for node or electron (based/replacement on/of galkhana/hummusjs). The package muhammara before 2.6.0; all versions of package hummus are vulnerable to Denial of Service (DoS) when supplied with a maliciously crafted PDF file to be appended to another. This issue has been patched in 2.6.0 for muhammara and not at all for hummus. As a workaround, do not process files from untrusted sources.

EPSS

Процентиль: 47%
0.00237
Низкий

7.5 High

CVSS3

Дефекты

CWE-476
CWE-690