Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: OpenVPN/openvpn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.5.10
Choose a base ref
...
head repository: OpenVPN/openvpn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.5.11
Choose a head ref
  • 3 commits
  • 6 files changed
  • 2 contributors

Commits on Jun 19, 2024

  1. Properly handle null bytes and invalid characters in control messages

    This makes OpenVPN more picky in accepting control message in two aspects:
    - Characters are checked in the whole buffer and not until the first
      NUL byte
    - if the message contains invalid characters, we no longer continue
      evaluating a fixed up version of the message but rather stop
      processing it completely.
    
    Previously it was possible to get invalid characters to end up in log
    files or on a terminal.
    
    This also prepares the logic a bit in the direction of having a proper
    framing of control messages separated by null bytes instead of relying
    on the TLS framing for that. All OpenVPN implementations write the 0
    bytes between control commands.
    
    This patch also include several improvement suggestion from Reynir
    (thanks!).
    
    CVE: 2024-5594
    
    Reported-By: Reynir Björnsson <[email protected]>
    Change-Id: I0d926f910637dabc89bf5fa919dc6beef1eb46d9
    Signed-off-by: Arne Schwabe <[email protected]>
    Acked-by: Antonio Quartulli <[email protected]>
    
    Message-Id: <[email protected]>
    URL: https://www.mail-archive.com/[email protected]/msg28791.html
    Signed-off-by: Gert Doering <[email protected]>
    (cherry picked from commit 414f428)
    schwabe authored and cron2 committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d4921ba View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Allow trailing \r and \n in control channel message

    Writing a reason from a script will easily end up adding extra \r\n characters
    at the end of the reason. Our current code pushes this to the peer. So be more
    liberal in accepting these message.
    
    Github: closes #568
    
    This is the backport of the fix (commit be31325) to release/2.5.
    
    Change-Id: I47c992b6b73b1475cbff8a28f720cf50dc1fbe3e
    Signed-off-by: Arne Schwabe <[email protected]>
    Signed-off-by: Frank Lichtenheld <[email protected]>
    Acked-by: Gert Doering <[email protected]>
    Message-Id: <[email protected]>
    URL: https://www.mail-archive.com/[email protected]/msg28923.html
    Signed-off-by: Gert Doering <[email protected]>
    schwabe authored and cron2 committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    dddb87f View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Preparing release 2.5.11

    version.m4, ChangeLog, Changes.rst
    
    Signed-off-by: Gert Doering <[email protected]>
    cron2 committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    6fb2a25 View commit details
    Browse the repository at this point in the history
Loading