ubuntu-cve-2024-31497
Vulnerability from osv_ubuntu
Published
2024-04-15 20:15
Modified
2025-10-24 05:09
Summary
Details

In PuTTY 0.68 through 0.80 before 0.81, biased ECDSA nonce generation allows an attacker to recover a user's NIST P-521 secret key via a quick attack in approximately 60 signatures. This is especially important in a scenario where an adversary is able to read messages signed by PuTTY or Pageant. The required set of signed messages may be publicly readable because they are stored in a public Git service that supports use of SSH for commit signing, and the signatures were made by Pageant through an agent-forwarding mechanism. In other words, an adversary may already have enough signature information to compromise a victim's private key, even if there is no further use of vulnerable PuTTY versions. After a key compromise, an adversary may be able to conduct supply-chain attacks on software maintained in Git. A second, independent scenario is that the adversary is an operator of an SSH server to which the victim authenticates (for remote login or file copy), even though this server is not fully trusted by the victim, and the victim uses the same private key for SSH connections to other services operated by other entities. Here, the rogue server operator (who would otherwise have no way to determine the victim's private key) can derive the victim's private key, and then use it for unauthorized access to those other services. If the other services include Git services, then again it may be possible to conduct supply-chain attacks on software maintained in Git. This also affects, for example, FileZilla before 3.67.0, WinSCP before 6.3.3, TortoiseGit before 2.15.0.1, and TortoiseSVN through 1.14.6.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "filezilla",
            "binary_version": "3.15.0.2-1ubuntu1"
          },
          {
            "binary_name": "filezilla-common",
            "binary_version": "3.15.0.2-1ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "filezilla",
        "purl": "pkg:deb/ubuntu/filezilla@3.15.0.2-1ubuntu1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.12.0.2-1ubuntu2",
        "3.14.1-1ubuntu1",
        "3.15.0.2-0ubuntu1",
        "3.15.0.2-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "pterm",
            "binary_version": "0.67-3+deb9u1build0.16.04.1"
          },
          {
            "binary_name": "putty",
            "binary_version": "0.67-3+deb9u1build0.16.04.1"
          },
          {
            "binary_name": "putty-tools",
            "binary_version": "0.67-3+deb9u1build0.16.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "putty",
        "purl": "pkg:deb/ubuntu/putty@0.67-3+deb9u1build0.16.04.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.65-2",
        "0.66-1",
        "0.66-2",
        "0.66-3",
        "0.66-4",
        "0.67-1",
        "0.67-2",
        "0.67-3build0.16.04.1",
        "0.67-3+deb9u1build0.16.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "filezilla",
            "binary_version": "3.28.0-1"
          },
          {
            "binary_name": "filezilla-common",
            "binary_version": "3.28.0-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "filezilla",
        "purl": "pkg:deb/ubuntu/filezilla@3.28.0-1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.27.0~rc1-1",
        "3.28.0-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "pterm",
            "binary_version": "0.70-4"
          },
          {
            "binary_name": "putty",
            "binary_version": "0.70-4"
          },
          {
            "binary_name": "putty-tools",
            "binary_version": "0.70-4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "putty",
        "purl": "pkg:deb/ubuntu/putty@0.70-4?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.70-1",
        "0.70-2",
        "0.70-3",
        "0.70-4"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "filezilla",
            "binary_version": "3.46.3-1ubuntu0.1"
          },
          {
            "binary_name": "filezilla-common",
            "binary_version": "3.46.3-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "filezilla",
        "purl": "pkg:deb/ubuntu/filezilla@3.46.3-1ubuntu0.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.39.0-2",
        "3.45.1-3",
        "3.45.1-3build1",
        "3.46.3-1~build1",
        "3.46.3-1",
        "3.46.3-1build1",
        "3.46.3-1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "pterm",
            "binary_version": "0.73-2"
          },
          {
            "binary_name": "putty",
            "binary_version": "0.73-2"
          },
          {
            "binary_name": "putty-tools",
            "binary_version": "0.73-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "putty",
        "purl": "pkg:deb/ubuntu/putty@0.73-2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.72-1",
        "0.73-1",
        "0.73-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "filezilla",
            "binary_version": "3.58.0-1ubuntu0.1"
          },
          {
            "binary_name": "filezilla-common",
            "binary_version": "3.58.0-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "filezilla",
        "purl": "pkg:deb/ubuntu/filezilla@3.58.0-1ubuntu0.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.52.2-3",
        "3.56.0-1",
        "3.56.2-1",
        "3.57.0-1",
        "3.57.0-1build1",
        "3.58.0-1",
        "3.58.0-1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "pterm",
            "binary_version": "0.76-2"
          },
          {
            "binary_name": "putty",
            "binary_version": "0.76-2"
          },
          {
            "binary_name": "putty-tools",
            "binary_version": "0.76-2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "putty",
        "purl": "pkg:deb/ubuntu/putty@0.76-2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.75-3",
        "0.76-1",
        "0.76-2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "filezilla",
            "binary_version": "3.66.5-2build2"
          },
          {
            "binary_name": "filezilla-common",
            "binary_version": "3.66.5-2build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "filezilla",
        "purl": "pkg:deb/ubuntu/filezilla@3.66.5-2build2?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.65.0-3",
        "3.66.1-2",
        "3.66.1-3",
        "3.66.1-3.2",
        "3.66.1-4",
        "3.66.4-1",
        "3.66.4-2",
        "3.66.5-2",
        "3.66.5-2build1",
        "3.66.5-2build2"
      ]
    }
  ],
  "aliases": [],
  "details": "In PuTTY 0.68 through 0.80 before 0.81, biased ECDSA nonce generation allows an attacker to recover a user\u0027s NIST P-521 secret key via a quick attack in approximately 60 signatures. This is especially important in a scenario where an adversary is able to read messages signed by PuTTY or Pageant. The required set of signed messages may be publicly readable because they are stored in a public Git service that supports use of SSH for commit signing, and the signatures were made by Pageant through an agent-forwarding mechanism. In other words, an adversary may already have enough signature information to compromise a victim\u0027s private key, even if there is no further use of vulnerable PuTTY versions. After a key compromise, an adversary may be able to conduct supply-chain attacks on software maintained in Git. A second, independent scenario is that the adversary is an operator of an SSH server to which the victim authenticates (for remote login or file copy), even though this server is not fully trusted by the victim, and the victim uses the same private key for SSH connections to other services operated by other entities. Here, the rogue server operator (who would otherwise have no way to determine the victim\u0027s private key) can derive the victim\u0027s private key, and then use it for unauthorized access to those other services. If the other services include Git services, then again it may be possible to conduct supply-chain attacks on software maintained in Git. This also affects, for example, FileZilla before 3.67.0, WinSCP before 6.3.3, TortoiseGit before 2.15.0.1, and TortoiseSVN through 1.14.6.",
  "id": "UBUNTU-CVE-2024-31497",
  "modified": "2025-10-24T05:09:09Z",
  "published": "2024-04-15T20:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-31497"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-31497"
    },
    {
      "type": "REPORT",
      "url": "https://www.openwall.com/lists/oss-security/2024/04/15/6"
    },
    {
      "type": "REPORT",
      "url": "https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-p521-bias.html"
    },
    {
      "type": "REPORT",
      "url": "https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html"
    },
    {
      "type": "REPORT",
      "url": "https://filezilla-project.org/versions.php"
    },
    {
      "type": "REPORT",
      "url": "https://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter9.html#pageant-forward"
    },
    {
      "type": "REPORT",
      "url": "https://docs.ccv.brown.edu/oscar/connecting-to-oscar/ssh/ssh-agent-forwarding/key-generation-and-agent-forwarding-with-putty"
    },
    {
      "type": "REPORT",
      "url": "https://news.ycombinator.com/item?id=40044665"
    },
    {
      "type": "REPORT",
      "url": "https://winscp.net/eng/news.php"
    },
    {
      "type": "REPORT",
      "url": "https://tortoisegit.org"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/advisories/GHSA-6p4c-r453-8743"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2275183"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.suse.com/show_bug.cgi?id=1222864"
    },
    {
      "type": "REPORT",
      "url": "https://security-tracker.debian.org/tracker/CVE-2024-31497"
    },
    {
      "type": "REPORT",
      "url": "https://twitter.com/lambdafu/status/1779969509522133272"
    },
    {
      "type": "REPORT",
      "url": "https://git.tartarus.org/?h=c193fe9848f50a88a4089aac647fecc31ae96d27\u0026p=simon/putty.git"
    },
    {
      "type": "REPORT",
      "url": "https://www.reddit.com/r/sysadmin/comments/1c4wmoj/putty_vulnerability_affecting_v068_to_v08/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/daedalus/BreakingECDSAwithLLL"
    },
    {
      "type": "REPORT",
      "url": "https://www.bleepingcomputer.com/news/security/putty-ssh-client-flaw-allows-recovery-of-cryptographic-private-keys/"
    },
    {
      "type": "REPORT",
      "url": "https://twitter.com/CCBalert/status/1780229237569470549"
    },
    {
      "type": "REPORT",
      "url": "https://securityonline.info/cve-2024-31497-critical-putty-vulnerability-exposes-private-keys-immediate-action-required/"
    },
    {
      "type": "REPORT",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMJH7M663BVO3SY6MFAW2FAZWLLXAPRQ/"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-31497"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…