<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-strongswan.git/src, branch 1.3.5</title>
<subtitle> (mirror of https://github.com/vyos/vyos-strongswan.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-strongswan.git/atom?h=1.3.5</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-strongswan.git/atom?h=1.3.5'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/'/>
<updated>2021-11-24T15:17:39+00:00</updated>
<entry>
<title>cert-cache: Prevent crash due to integer overflow/sign change</title>
<updated>2021-11-24T15:17:39+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2021-09-28T17:38:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=7d5961bab37fe964170fc020b24e6e71bf25cc19'/>
<id>urn:sha1:7d5961bab37fe964170fc020b24e6e71bf25cc19</id>
<content type='text'>
random() allocates values in the range [0, RAND_MAX], with RAND_MAX usually
equaling INT_MAX = 2^31-1.  Previously, values between 0 and 31 were added
directly to that offset before applying`% CACHE_SIZE` to get an index into
the cache array.  If the random value was very high, this resulted in an
integer overflow and a negative index value and, therefore, an out-of-bounds
access of the array and in turn dereferencing invalid pointers when trying
to acquire the read lock.  This most likely results in a segmentation fault.

Fixes: 764e8b2211ce ("reimplemented certificate cache")
Fixes: CVE-2021-41991
Signed-off-by: Daniil Baturin &lt;daniil@vyos.io&gt;
</content>
</entry>
<entry>
<title>Reject RSASSA-PSS params with negative salt length</title>
<updated>2021-11-24T01:06:33+00:00</updated>
<author>
<name>Tobias Brunner</name>
<email>tobias@strongswan.org</email>
</author>
<published>2021-09-28T15:52:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=5de6fd137e48151e58954f6c0b8866d258fff14b'/>
<id>urn:sha1:5de6fd137e48151e58954f6c0b8866d258fff14b</id>
<content type='text'>
The `salt_len` member in the struct is of type `ssize_t` because we use
negative values for special automatic salt lengths when generating
signatures.

Not checking this could lead to an integer overflow.  The value is assigned
to the `len` field of a chunk (`size_t`), which is further used in
calculations to check the padding structure and (if that is passed by a
matching crafted signature value) eventually a memcpy() that will result
in a segmentation fault.

Fixes: a22316520b91 ("signature-params: Add functions to parse/build ASN.1 RSASSA-PSS params")
Fixes: 7d6b81648b2d ("gmp: Add support for RSASSA-PSS signature verification")
Fixes: CVE-2021-41990
Signed-off-by: Daniil Baturin &lt;daniil@baturin.org&gt;
</content>
</entry>
<entry>
<title>New upstream version 5.7.2</title>
<updated>2019-01-02T10:07:05+00:00</updated>
<author>
<name>Yves-Alexis Perez</name>
<email>corsac@debian.org</email>
</author>
<published>2019-01-02T09:45:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=918094fde55fa0dbfd59a5f88d576efb513a88db'/>
<id>urn:sha1:918094fde55fa0dbfd59a5f88d576efb513a88db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New upstream version 5.7.1</title>
<updated>2018-10-01T20:30:25+00:00</updated>
<author>
<name>Yves-Alexis Perez</name>
<email>corsac@debian.org</email>
</author>
<published>2018-10-01T20:30:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=3001f2ed68bf2e519b197a0a33e9976177c002ae'/>
<id>urn:sha1:3001f2ed68bf2e519b197a0a33e9976177c002ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New upstream version 5.7.0</title>
<updated>2018-09-24T13:11:14+00:00</updated>
<author>
<name>Yves-Alexis Perez</name>
<email>corsac@debian.org</email>
</author>
<published>2018-09-24T13:11:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=e0e280b7669435b991b7e457abd8aa450930b3e8'/>
<id>urn:sha1:e0e280b7669435b991b7e457abd8aa450930b3e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New upstream version 5.6.3</title>
<updated>2018-06-04T07:59:21+00:00</updated>
<author>
<name>Yves-Alexis Perez</name>
<email>corsac@debian.org</email>
</author>
<published>2018-06-04T07:59:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=51a71ee15c1bcf0e82f363a16898f571e211f9c3'/>
<id>urn:sha1:51a71ee15c1bcf0e82f363a16898f571e211f9c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New upstream version 5.6.2</title>
<updated>2018-02-19T17:17:21+00:00</updated>
<author>
<name>Yves-Alexis Perez</name>
<email>corsac@corsac.net</email>
</author>
<published>2018-02-19T17:17:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=7793611ee71b576dd9c66dee327349fa64e38740'/>
<id>urn:sha1:7793611ee71b576dd9c66dee327349fa64e38740</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New upstream version 5.6.1</title>
<updated>2017-11-21T09:22:31+00:00</updated>
<author>
<name>Yves-Alexis Perez</name>
<email>corsac@corsac.net</email>
</author>
<published>2017-11-21T09:22:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=e1d78dc2faaa06e7c3f71ef674a71e4de2f0758e'/>
<id>urn:sha1:e1d78dc2faaa06e7c3f71ef674a71e4de2f0758e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New upstream version 5.6.0</title>
<updated>2017-09-01T15:21:25+00:00</updated>
<author>
<name>Yves-Alexis Perez</name>
<email>corsac@corsac.net</email>
</author>
<published>2017-09-01T15:21:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=11d6b62db969bdd808d0f56706cb18f113927a31'/>
<id>urn:sha1:11d6b62db969bdd808d0f56706cb18f113927a31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New upstream version 5.5.3</title>
<updated>2017-05-30T18:59:31+00:00</updated>
<author>
<name>Yves-Alexis Perez</name>
<email>corsac@corsac.net</email>
</author>
<published>2017-05-30T18:59:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-strongswan.git/commit/?id=bba25e2ff6c4a193acb54560ea4417537bd2954e'/>
<id>urn:sha1:bba25e2ff6c4a193acb54560ea4417537bd2954e</id>
<content type='text'>
</content>
</entry>
</feed>
