<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-09T06:30:38.919155+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-3m6q-h5gj-7mrw</id>
    <title>GHSA-3m6q-h5gj-7mrw — Gitea has insecure default SSH settings</title>
    <updated>2026-10-09T06:30:38.920729+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: code.gitea.io/gitea</p>
<p>## Summary</p>
<p>The built-in SSH server currently advertises a number of key exchange, MAC, and host key algorithms that are considered weak or broken. The defaults should be tightened so a fresh installation passes a baseline SSH security audit out of the box.</p>
<p>## Details</p>
<p>Running `ssh-audit` against a default deployment flags the following as `fail`:</p>
<p>- **Key exchange**
  - `ecdh-sha2-nistp256`
  - `ecdh-sha2-nistp384`
  - `ecdh-sha2-nistp521`
- **MAC**
  - `hmac-sha1`
- **Host key**
  - `ssh-rsa`</p>
<p>## Reproduction</p>
<p>```sh
docker run -it --rm positronsecurity/ssh-audit -p 2222 gitea.local
```</p>
<p>## Impact</p>
<p>Default deployments expose algorithms that are known-weak or deprecated upstream. The current workaround requires manually setting several `GITEA__server__SSH_SERVER_*` variables, which most users will never do.</p>
<p>### Workaround</p>
<p>```ini
[server]
SSH_SERVER_KEY_EXCHANGES = curve25519-sha256, diffie-hellman-group14-sha256
SSH_SERVER_CIPHERS       = chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
SSH_SERVER_MACS          = hmac-sha2-256-etm@openssh.com, hmac-sha2-256
```</p>
<p>There is no exposed option to restrict host key algorithms, so `ssh-rsa` remains advertised.</p>
<p>## Acceptance criteria</p>
<p>- [ ] Default `SSH_SERVER_KEY_EXCHANGES`, `SSH_SERVER_CIPHERS`, and `SSH_SERVER_MACS` updated to the secure list above.
- [ ] New `SSH_SERVER_HOST_KEY_ALGORITHMS` option added, with a default that excludes `ssh-rsa`.
- [ ] Documentati…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-3m6q-h5gj-7mrw"/>
  </entry>
</feed>
