<feed xmlns='http://www.w3.org/2005/Atom'>
<title>snuffleupagus, branch log2file</title>
<subtitle>Security module for php7 and php8 - Killing bugclasses and virtual-patching the rest! 
</subtitle>
<id>http://git.dustri.org/snuffleupagus/atom?h=log2file</id>
<link rel='self' href='http://git.dustri.org/snuffleupagus/atom?h=log2file'/>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/'/>
<updated>2025-10-24T21:55:13Z</updated>
<entry>
<title>feat(log): add the possibility to log to a file</title>
<updated>2025-10-24T21:55:13Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-10-24T21:50:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=6ea4278a512bc9f1f816844222e65a4ea670db8e'/>
<id>urn:sha1:6ea4278a512bc9f1f816844222e65a4ea670db8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(unserialize): don't bail in simulation mode when there's no HMAC</title>
<updated>2025-10-24T21:55:10Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-10-24T21:49:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=a167c4d23feb03e6c5b53f41724bbfcb813bf04b'/>
<id>urn:sha1:a167c4d23feb03e6c5b53f41724bbfcb813bf04b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump alpine from PHP8.2 to PHP8.3 in the CI</title>
<updated>2025-10-24T16:29:09Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-10-24T16:10:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=040f11d6c2ab54e3990a5887b8cebf7a00d17071'/>
<id>urn:sha1:040f11d6c2ab54e3990a5887b8cebf7a00d17071</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a test</title>
<updated>2025-10-14T18:51:37Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-10-14T18:51:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=f06cafcfbced1af4978fbaf7f74f9c4f8045e0c5'/>
<id>urn:sha1:f06cafcfbced1af4978fbaf7f74f9c4f8045e0c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(log): systematically drop when .drop() is used</title>
<updated>2025-10-02T13:22:08Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-10-02T13:22:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=da8c7aebc5602c04b771ada71a098ccb23d83a48'/>
<id>urn:sha1:da8c7aebc5602c04b771ada71a098ccb23d83a48</id>
<content type='text'>
When the `php` logging facility is used, the error could have been caught by
using `set_error_handler` and whatnot. This commit ensures that if the
`.drop()` option is set, we're calling `zend_bailout()` that can't be caught.

An attacker could have used this issue to silently perform some recon of the
running environment. This isn't considered a vulnerability as an attacker
with arbitrary php code execution can simply use the use-after-free of the day
to gain arbitrary (native) code execution anyway, after detecting that
Snuffleupagus is in use, to take little risks of detection.
</content>
</entry>
<entry>
<title>Rename a handful of global constants</title>
<updated>2025-10-02T10:16:29Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-10-02T10:16:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=09bc3ffc8734cf2437e14ab123c7b732db53b836'/>
<id>urn:sha1:09bc3ffc8734cf2437e14ab123c7b732db53b836</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a cookie-related warning for PHP8.5.0</title>
<updated>2025-10-01T11:59:45Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-10-01T11:44:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=9509733befcb4010bc77b06fcf41e77078976e80'/>
<id>urn:sha1:9509733befcb4010bc77b06fcf41e77078976e80</id>
<content type='text'>
```
========DIFF========
001- OK
001+ Fatal error: Uncaught ValueError: setcookie(): "partitioned" option cannot be used without "secure" option in /builddir/build/BUILD/snuffleupagus-1c7598c432551d0c49c2c57f249ccd5ccabce638/src/tests/samesite_cookies.php:2
002+ Stack trace:
003+ #0 /builddir/build/BUILD/snuffleupagus-1c7598c432551d0c49c2c57f249ccd5ccabce638/src/tests/samesite_cookies.php(2): setcookie('super_cookie', 'super_value')
004+ #1 {main}
005+   thrown in /builddir/build/BUILD/snuffleupagus-1c7598c432551d0c49c2c57f249ccd5ccabce638/src/tests/samesite_cookies.php on line 2
========DONE========
FAIL Cookie samesite [tests/samesite_cookies.phpt]
```

Even though the warning might be spurious, let's fix this properly, by
initialising `partitioned` to false, and by setting it only if `secure` is set
as well.
</content>
</entry>
<entry>
<title>Update PHP8.5 from beta2 to rc1 in the CI</title>
<updated>2025-10-01T11:41:38Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-10-01T11:34:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=5ddd783a19dfc1428cfd02cabc55177b3a488a28'/>
<id>urn:sha1:5ddd783a19dfc1428cfd02cabc55177b3a488a28</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the default rules compatible via PHP8</title>
<updated>2025-09-30T19:47:12Z</updated>
<author>
<name>santii-git</name>
</author>
<published>2025-09-30T16:03:26Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=cfb22fc95c6a9acab607dfd30cdfe9fe05cbb69d'/>
<id>urn:sha1:cfb22fc95c6a9acab607dfd30cdfe9fe05cbb69d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the default rules compatible via PHP8</title>
<updated>2025-09-30T15:04:22Z</updated>
<author>
<name>jvoisin</name>
</author>
<published>2025-09-30T15:04:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dustri.org/snuffleupagus/commit/?id=41da9b8265dc8c2e916eb15f480496d6239420dd'/>
<id>urn:sha1:41da9b8265dc8c2e916eb15f480496d6239420dd</id>
<content type='text'>
As suggested by @santii-git in https://github.com/jvoisin/snuffleupagus/issues/522
</content>
</entry>
</feed>
