civicrm: CVE-2023-28115

Related Vulnerabilities: CVE-2023-28115  

Debian Bug report logs - #1036284
civicrm: CVE-2023-28115

Reported by: Moritz Mühlenhoff <jmm@inutil.org>

Date: Thu, 18 May 2023 13:27:02 UTC

Severity: important

Tags: security, upstream

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, team@security.debian.org, Dmitry Smirnov <onlyjob@debian.org>:
Bug#1036284; Package src:civicrm. (Thu, 18 May 2023 13:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Moritz Mühlenhoff <jmm@inutil.org>:
New Bug report received and forwarded. Copy sent to team@security.debian.org, Dmitry Smirnov <onlyjob@debian.org>. (Thu, 18 May 2023 13:27:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Moritz Mühlenhoff <jmm@inutil.org>
To: submit@bugs.debian.org
Subject: civicrm: CVE-2023-28115
Date: Thu, 18 May 2023 15:24:02 +0200
Source: civicrm
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerability was published for snappy, which is bundled
by civicrm:

CVE-2023-28115[0]:
| Snappy is a PHP library allowing thumbnail, snapshot or PDF generation
| from a url or a html page. Prior to version 1.4.2, Snappy is
| vulnerable to PHAR deserialization due to a lack of checking on the
| protocol before passing it into the `file_exists()` function. If an
| attacker can upload files of any type to the server he can pass in the
| phar:// protocol to unserialize the uploaded file and instantiate
| arbitrary PHP objects. This can lead to remote code execution
| especially when snappy is used with frameworks with documented POP
| chains like Laravel/Symfony vulnerable developer code. If a user can
| control the output file from the `generateFromHtml()` function, it
| will invoke deserialization. This vulnerability is capable of remote
| code execution if Snappy is used with frameworks or developer code
| with vulnerable POP chains. It has been fixed in version 1.4.2.

https://github.com/KnpLabs/snappy/security/advisories/GHSA-gq6w-q6wh-jggc
https://github.com/KnpLabs/snappy/pull/469
https://github.com/KnpLabs/snappy/commit/1ee6360cbdbea5d09705909a150df7963a88efd6 (v1.4.2)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2023-28115
    https://www.cve.org/CVERecord?id=CVE-2023-28115

Please adjust the affected versions in the BTS as needed.



Added tag(s) upstream. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Thu, 18 May 2023 14:45:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri May 19 13:12:41 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.